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.
Random Generation of $k$-coloured Motzkin Paths / Elena Barcucci, Antonio Bernini, Stefano Bilotta, Renzo Pinzani. - In: ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE. - ISSN 2075-2180. - ELETTRONICO. - 445:(2026), pp. 10-15. [10.4204/EPTCS.445.2]
Random Generation of $k$-coloured Motzkin Paths
Elena Barcucci;Antonio Bernini;Stefano Bilotta
;Renzo Pinzani
2026
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.| File | Dimensione | Formato | |
|---|---|---|---|
|
2606.13151v1.pdf
accesso aperto
Descrizione: Manuscript
Tipologia:
Pdf editoriale (Version of record)
Licenza:
Open Access
Dimensione
154.78 kB
Formato
Adobe PDF
|
154.78 kB | Adobe PDF |
I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.



