Catalan numbers
Overview
Important
Catalan numbers are a sequence of natural numbers that appear in many counting problems, often involving recursive structures. The th Catalan number, usually written as , counts things like the number of ways to correctly match pairs of parentheses, the number of ways to split a polygon with sides into triangles, or the number of non-crossing handshakes among people sitting around a table.
Important properties
-
The first few Catalan numbers are: , , , , , .
-
Catalan numbers can be defined recursively: , and for , .
-
Catalan numbers have a closed formula: .
-
They count many different combinatorial objects, such as valid bracket sequences, rooted binary trees, and non-crossing partitions.