Catalan's triangle
In combinatorial mathematics, Catalan's triangle is a number triangle whose entries give the number of strings consisting of n X's and k Y's such that no initial segment of the string has more Y's than X's. It is a generalization of the Catalan numbers, and is named after Eugène Charles Catalan. Bailey[1] shows that satisfy the following properties:
- .
- .
- .
Formula 3 shows that the entry in the triangle is obtained recursively by adding numbers to the left and above in the triangle. The earliest appearance of the Catalan triangle along with the recursion formula is in page 214 of the treatise on Calculus published in 1800[2] by Louis François Antoine Arbogast.
Shapiro[3] introduces another triangle which he calls the Catalan triangle that is distinct from the triangle being discussed here.
General formula
The general formula for is given by[1][4]
where n and k are nonnegative integers and n! denotes the factorial.
The diagonal C(n, n) is the n-th Catalan number. The row sum of the n-th row is the (n + 1)-th Catalan number.
Some values are given by[5]
n \ k 0 1 2 3 4 5 6 7 8 0 1 1 1 1 2 1 2 2 3 1 3 5 5 4 1 4 9 14 14 5 1 5 14 28 42 42 6 1 6 20 48 90 132 132 7 1 7 27 75 165 297 429 429 8 1 8 35 110 275 572 1001 1430 1430
Generalization
Catalan's trapezoids are a countable set of number trapezoids which generalize Catalan’s triangle. Catalan's trapezoid of order m = 1, 2, 3, ... is a number trapezoid whose entries give the number of strings consisting of n X-s and k Y-s such that in every initial segment of the string the number of Y-s does not exceed the number of X-s by m or more.[6] By definition, Catalan's trapezoid of order m = 1 is Catalan's triangle, i.e., .
Some values of Catalan's trapezoid of order m = 2 are given by
n \ k 0 1 2 3 4 5 6 7 8 0 1 1 1 1 2 2 2 1 3 5 5 3 1 4 9 14 14 4 1 5 14 28 42 42 5 1 6 20 48 90 132 132 6 1 7 27 75 165 297 429 429 7 1 8 35 110 275 572 1001 1430 1430
Some values of Catalan's trapezoid of order m = 3 are given by
n \ k 0 1 2 3 4 5 6 7 8 9 0 1 1 1 1 1 2 3 3 2 1 3 6 9 9 3 1 4 10 19 28 28 4 1 5 15 34 62 90 90 5 1 6 21 55 117 207 297 297 6 1 7 28 83 200 407 704 1001 1001 7 1 8 36 119 319 726 1430 2431 3432 3432
Again, each element is the sum of the one above and the one to the left.
A general formula for is given by
( n = 0, 1, 2, ..., k = 0, 1, 2, ..., m = 1, 2, 3, ...).
See also
References
- 1 2 Bailey, D. F. (1996). "Counting Arrangements of 1's and -1's". Mathematical Magazine 69: 128–131.
- ↑ Arbogast, L. F. A. (1800). "Du Calcul des Derivations".
- ↑ Shapiro, L. W. (1976). "A Catalan Triangle". Discrete Mathematics 14 (1): 83–90.
- ↑ Eric W. Weisstein. "Catalan's Triangle". MathWorld − A Wolfram Web Resource. Retrieved March 28, 2012.
- ↑ The On-Line Encyclopedia of Integer Sequences. "A009766: Catalan's triangle". Retrieved March 28, 2012.
- ↑ Reuveni, Shlomi (2014). "Catalan's trapezoids". Probability in the Engineering and Informational Sciences 28 (03): 4391–4396. doi:10.1017/S0269964814000047.