1: \begin{thebibliography}{9}
2:
3: \bibitem{bege} A. Bege, Z. K\'asa, Coding objects related to Catalan numbers, \emph{Studia Universitatis Babe\c s-Bolyai, Informatica} \textbf{46}, 1 (2001) 31--40.
4:
5: \bibitem{bege2} A. Bege, Z. K\'asa, \textit{Algoritmikus kombinatorika \'es sz\'amelm\'elet}, Presa Universitar\u a Clujean\u a, 2006.
6:
7: \bibitem{deutsch} E. Deutsch, Dyck path enumeration, \emph{Discrete Mathematics} \textbf{204}, 1--3 (1999) 167--202.
8:
9:
10: \bibitem{duchon} P. Duchon, On the enumeration and generation of generalized Dyck words, \emph{Discrete Mathematics} \textbf{225}, 1--3 (2000) 121--135.
11:
12:
13: \bibitem{knuth3} D. E. Knuth, \textit{The Art of Computer Programming, Vol. 4. Fasc. 3, Generating All Combinations and Partitions}, Addison-Wesley, 2005.
14:
15:
16: \bibitem{liebe} J. Liebehenschel, Ranking and unranking of lexicographically ordered words: An average-case analysis. \textit{Journal of Automata, Languages and Combinatorics}, \textbf{2}, 4 (1997) 227--268
17:
18: \bibitem{wuu} W. Yang, \textit{Discrete Mathematics}, { http://www.cis.nctu.edu.tw/\~{}wuuyang/}, manuscript.
19:
20: \end{thebibliography}
21: