Jump to content

User:Aspaine/sandbox

From Wikipedia, the free encyclopedia

Proofs of the general formula for

[edit]

Proof 1

[edit]

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:

(1) when the constraint cannot be crossed, so all paths from to are valid, i.e. .

(2) when it is impossible to form a path that does not cross the constraint, i.e. .

(3) 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

[edit]

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 .