arXiv · 1002.2625
Generating and ranking of Dyck words
Abstract
A new algorithm to generate all Dyck words is presented, which is used in ranking and unranking Dyck words. We emphasize the importance of using Dyck words in encoding objects related to Catalan numbers. As a consequence of formulas used in the ranking algorithm we can obtain a recursive formula for the nth Catalan number.
Explore related subjects
Keep this discovery
Zoltan Kasa. 2010-02-12. Generating and ranking of Dyck words. https://arxiv.org/abs/1002.2625
Cite the original work for its findings. Save a collection to share your selection of sources.