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 shows that satisfy the following properties:
  1. .
  2. .
  3. .
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 by Louis François Antoine Arbogast.
Shapiro 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
where and are nonnegative integers and denotes the factorial. Thus, for >0, .
The diagonal is the -th Catalan number. The row sum of the -th row is the -th Catalan number.
Some values are given by

Generalization

Catalan's trapezoids are a countable set of number trapezoids which generalize Catalan’s triangle. Catalan's trapezoid of order is a number trapezoid whose entries give the number of strings consisting of X-s and 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 or more. By definition, Catalan's trapezoid of order is Catalan's triangle, i.e.,.
Some values of Catalan's trapezoid of order are given by
Some values of Catalan's trapezoid of order are given by
Again, each element is the sum of the one above and the one to the left.
A general formula for is given by
.

Proofs of the general formula for C_{m}(n,k)

Proof 1

This proof involves extension of the Andres Reflection method as used in the second proof for the Catalan number. The following shows how every path from the bottom left to the top right of the diagram that crosses the constraint can also be reflected to the end point.
We consider three cases to determine the number of paths from to that do not cross the constraint:
when the constraint cannot be crossed, so all paths from to are valid, i.e..
when it is impossible to form a path that does not cross the constraint, i.e..
when, then is the number of 'red' paths minus the number of 'yellow' paths that cross the constraint, i.e..
Thus the number of paths from to that do not cross the constraint is as indicated in the formula in the previous section "Generalization".

Proof 2

Firstly, we confirm the validity of the recurrence relation by breaking down into two parts, the first for XY combinations ending in X and the second for those ending in Y. The first group therefore has valid combinations and the second has. Proof 2 is completed by verifying the solution satisfies the recurrence relation and obeys initial conditions for and.