This is a guest post by researcher Audace Dossou-Olory of Stellenbosch University, South Africa.
Consider the following question: How many ways are there to connect
Circular reasoning
For example, for
This shows that for

Figure 1: Illustration for n = 2
What is the answer to this question for general
The problem can be solved by setting a recurrence relation: denote by
For
Therefore, we have
These numbers were introduced by the French and Belgian mathematician Eugène Charles Catalan. As it turns out, Catalan numbers count various combinatorial structures such as the ‘number of trees’.
What is a tree?
A tree is a graph that satisfies the following conditions:
- two nodes can only be connected through one edge (no multiple edges between pairwise nodes);
- no loop at a node (no node can be connected to itself via an arc);
- the edges of the graph are not oriented – they are simple edges;
- there is always a path to get from one node to another (the graph is connected);
- there is no cycle (a path that starts and ends at a same node) in the graph.
In other words, a mathematical tree is a graph in which any two nodes are connected by a unique path.
But how many trees are there? Mathematicians and computer scientists had already started answering this question since the work of the German mathematician Carl Wilhelm Borchardt in 1860, before the work of Cayley, Pólya, Prüfer and many others.
Nowadays, the study of trees involves determining a vast number of properties, such as the number of possible trees given a number of nodes.
We highlight three types of trees that are counted via Catalan numbers.
If we choose one node of the tree and call it the root, we have what is called a rooted tree. Thinking of the root of a tree as a common ancestor to all other nodes in the tree, we define the notion of a successor – a node further along the same path in the tree.
The number of binary trees with nodes
A binary tree is a rooted tree in which each node has two successors or no successor at all; the number of possible such trees with

Figure 1: A binary tree with 9 nodes
The number of pruned binary trees with nodes
A pruned binary tree is a rooted tree obtained from a binary tree by leaving out all nodes with no successors; the number of possible such trees with

Figure 2: A pruned binary tree with 7 nodes
The number of plane trees with nodes
A plane tree is a rooted tree in which a node can have any number of ordered successors; the number of possible such trees with

Figure 3: A plane tree with 13 nodes
Further uses of Catalan Numbers
Besides trees, amongst other structures counted by

Figure 4: A Dyck path of length 10
Also, (and just for fun), you could try to compute the following integral:
If you’d like to write about some maths that you find interesting, get in touch!