On the generating functions of pattern-avoiding Motzkin paths
Christian Bean, Antonio Bernini, Matteo Cervetti, Luca Ferrari

TL;DR
This paper develops a recursive method to derive rational generating functions for Motzkin paths avoiding specific patterns, providing algorithms for enumeration, specification, and random generation of such paths.
Contribution
It introduces a recursive approach to find rational generating functions for pattern-avoiding Motzkin paths and offers an algorithm for arbitrary pattern sets.
Findings
Generating functions are rational over x and Catalan function for pattern-avoiding paths.
An algorithm for arbitrary pattern sets is provided.
The method enables enumeration, exhaustive, and random generation of paths.
Abstract
Using a recursive approach, we show that the generating function for sets of Motzkin paths avoiding a single (not necessarily consecutive) pattern is rational over and the Catalan generating function , where keeps track of the length of the path. Moreover, an algorithm is provided for finding the generating function in the more general case of an arbitrary set of patterns. In addition, this algorithm allows us to find a combinatorial specification for pattern-avoiding Motzkin paths, which can be used not only for enumeration, but also for exhaustive and random generation.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Combinatorial Mathematics · Stochastic processes and statistical mechanics · Bayesian Methods and Mixture Models
