The first-return decomposition of a Dyck path and the rule of product giveFor a given , choose the inside path in ways and its suffix in ways. Different first-return locations give disjoint groups, so the rule of sum adds their counts. For , the terms are . Iterating the recurrence relation computes the counts without enumerating every full path.
Articles by others on the same topic
There are currently no matching articles.