Catalan numbers form a sequence of natural numbers that play an important role in various counting problems, often involving recursively-defined structures. They are named after the Belgian mathematician Eugène Charles Catalan.
The sequence of Catalan numbers begins with and so on. Each number in the sequence is denoted as where is the position in the sequence, starting from
The th Catalan number can be directly calculated using the formula:
where and is the binomial coefficient.
Catalan numbers can also be defined recursively as follows:
Basically all the different stuff you might see involving them (not just math competitons).
Here are some examples.
How many correct bracket expressions can be made with pairs of brackets?
Here, we look for the third Catalan number.
Using the formula:
So, there are different correct bracket expressions that can be made with pairs of brackets.
How many rooted binary trees are there with 4 leaves?
A binary tree is a tree in which each node has at most two children. The children are usually called left and right.
For rooted binary trees, we use for leaves. So, for leaves, we find
We already calculated
How many ways can a hexagon ( sides) be divided into triangles by connecting non-crossing lines between the vertices?
For a hexagon, we have so
Using the formula:
Therefore, a hexagon can be divided into triangles in different ways.
How many paths can you take along the edges of a grid from the bottom left corner to the top right corner without crossing the diagonal?
For a square grid of size the number of such paths is given by the th Catalan number, Here,
Using the formula:
Therefore, there are different paths that you can take along the edges of a grid from one corner to the opposite corner without crossing the diagonal.
How many non-isomorphic ordered trees are there with vertices?
A non-isomorphic ordered tree is a tree in which the order of children at each node is considered.
The number of non-isomorphic ordered trees with vertices is given by the th Catalan number. Here so
We already know from the previous example, which is
Therefore, there are non-isomorphic ordered trees with vertices.
Here's a practice problem.
(1993 AIME Q7)
Three numbers, , are drawn randomly and without replacement from the set
Three other numbers, , are then drawn randomly and without replacement from the remaining set of numbers. Let be the probability that, after suitable rotation, a brick of dimensions can be enclosed in a box of dimension , with the sides of the brick parallel to the sides of the box. If is written as a fraction in lowest terms, what is the sum of the numerator and denominator?