10.3 Catalan numbers

The sequence 1n⁢(2⁢n−2n−1) is known as Catalan numbers and arises in many combinatorial problems. We mention a few here.

Example 10.8.

Consider a set S with a non-associative product operation. Let un be the number of ways to multiply n terms. Say how do we multiply x1⁢…⁢xn. Trivially u1=u2=1. Say n=3, then (a⁢(b⁢c)),((a⁢b)⁢c) are the only choices and so u3=2. The outer bracket of n terms is divided into two brackets of m terms and n−m terms i.e., (x1⁢…⁢xn)=((x1⁢…⁢xm)⁢(xm+1⁢…⁢xn)). So,

un=∑m=1n−1um⁢un−m.

Let f⁢(x)=∑n=1un⁢xn. Set u0=0. Recursion implies that

f⁢(x)=x+∑n=2∑m=1n−1um⁢un−m⁢xn=x+∑n=2∑m=1n−1um⁢xm⁢un−m⁢xn−m=x+f⁢(x)2.

So

f⁢(x)=1−1−4⁢x2,

and from fractional binomial series, we have that un=1n⁢(2⁢n−2n−1).

Other examples of Catalan numbers

  • •

    Number of walks with diagonal-up and diagonal-down moves of length 2⁢n that does not hit x-axis.

  • •

    A plane tree is a tree drawn on a plane and with a distinguished vertex called the root. We say it is planted if the root has degree 1. un is the number of planted plane trees with n vertices.

  • •

    un= number of planted binary plane trees with n leaves.