arXiv · 2606.13151
Random Generation of $k$-coloured Motzkin Paths
Abstract
We study k-coloured Motzkin paths, namely Motzkin paths in which horizontal steps can be coloured in k different ways, and investigate their connection with the number of prefixes ending at odd height from both an analytical and a combinatorial point of view. Moreover, the combinatorial approach provides a random generation algorithm for k-coloured Motzkin paths in linear-time.
Explore related subjects
Keep this discovery
Elena Barcucci, Antonio Bernini, Stefano Bilotta, Renzo Pinzani. 2026-06-11. Random Generation of $k$-coloured Motzkin Paths. https://doi.org/10.4204/eptcs.445.2
Cite the original work for its findings. Save a collection to share your selection of sources.