10.3 Catalan numbers

The sequence 1n(2n2n1) 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 x1xn. Trivially u1=u2=1. Say n=3, then (a(bc)),((ab)c) are the only choices and so u3=2. The outer bracket of n terms is divided into two brackets of m terms and nm terms i.e., (x1xn)=((x1xm)(xm+1xn)). So,

un=m=1n1umunm.

Let f(x)=n=1unxn. Set u0=0. Recursion implies that

f(x)=x+n=2m=1n1umunmxn=x+n=2m=1n1umxmunmxnm=x+f(x)2.

So

f(x)=114x2,

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

Other examples of Catalan numbers

  • Number of walks with diagonal-up and diagonal-down moves of length 2n 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.