Nepedia
Back to Discover
Advanced Reader
🔢

Catalan number

math Maturity 7-9 Next article →

The Catalan numbers are a specific sequence of natural numbers used in combinatorics. Combinatorics is the branch of mathematics focused on counting and arranging objects. These numbers appear in many different counting problems, especially those involving objects defined recursively. A recursive object is something that is built using smaller versions of itself. Because they appear in so many different areas, the Catalan numbers are incredibly useful for mathematicians.

Dyck lattice D4
Dyck lattice D4

To calculate the $n$-th Catalan number, mathematicians often use a formula involving central binomial coefficients. This formula provides a direct way to find a specific number in the sequence. Another way to express the number is through an alternative formula that uses a different mathematical structure. This second version is helpful because it proves the result is always an integer. While the first formula might look like it could result in a fraction, this second version confirms it will always be a whole number.

Mingantu's Catalan numbers
Mingantu's Catalan numbers

There are many distinct ways to interpret what these numbers actually represent. One common way is through Dyck words, which are strings of symbols like X and Y. In a Dyck word, the number of Ys never exceeds the number of Xs at any point in the sequence. You can also think of these as mountain ranges that never dip below the horizon. Another interpretation involves parentheses, where the numbers count the ways to correctly match opening and closing marks. For example, if you have four factors, there are five different ways to group them using parentheses.

Catalan 4 leaves binary tree example
Catalan 4 leaves binary tree example

Geometry provides even more ways to see these numbers in action. You can use Catalan numbers to count the ways to divide a convex polygon into triangles. This process is called polygon triangulation, and it requires connecting vertices with line segments that do not cross each other. If a polygon has $n+2$ sides, the number of ways to do this is the $n$-th Catalan number. You can also use them to count paths on a grid. These are called monotonic lattice paths, which move only right or up. The Catalan numbers count how many of these paths stay on or below a diagonal line.

Catalan number 4x4 grid example
Catalan number 4x4 grid example

Though named after the mathematician Eugène Catalan, these numbers were discovered much earlier. A mathematician named Minggatu identified them in the 1730s. This shows that important mathematical patterns often exist long before they receive a formal name. The sequence grows very quickly as the numbers get larger. Mathematically, we describe this growth using asymptotic notation. This means that as $n$ approaches infinity, the Catalan numbers grow at a predictable rate relative to other mathematical expressions.

Catalan-Hexagons-example
Catalan-Hexagons-example

Specific properties of the sequence reveal even more about its nature. Most Catalan numbers are even, and only a few are odd. In fact, the only prime numbers in the entire sequence are 2 and 5. There are also specific rules regarding the last digit of odd Catalan numbers. For instance, many odd Catalan numbers end in the digit 5. Scientists can even determine how many times a prime number divides a Catalan number by looking at its base representation.

Catalan number exceedance example
Catalan number exceedance example

Because they are so versatile, Catalan numbers connect to many different fields of study. In computer science, they can represent the number of possible parse trees for a sentence in natural language processing. In biology, they might relate to how structures branch. They even appear in the study of permutations, specifically stack-sortable permutations. This is a way of reordering a list of numbers using a specific rule. Whether looking at shapes, paths, or logic, the Catalan numbers provide a fundamental way to understand complex structures.

597 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (13)
File:Noncrossing partitions 5.svg
Noncrossing partitions 5.svg
File:Dyck lattice D4.svg
Dyck lattice D4.svg
File:Catalan 4 leaves binary tree example.svg
Catalan 4 leaves binary tree example.svg
File:Tamari lattice, trees.svg
Tamari lattice, trees.svg
File:Catalan number 4x4 grid example.svg
Catalan number 4x4 grid example.svg
File:Tamari lattice, hexagons.svg
Tamari lattice, hexagons.svg
File:Catalan-Hexagons-example.svg
Catalan-Hexagons-example.svg
File:Catalan stairsteps 4.svg
Catalan stairsteps 4.svg
File:Catalan number-path reflection.svg
Catalan number-path reflection.svg
File:Catalan number exceedance example.png
Catalan number exceedance example.png
File:Catalan number swapping example.png
Catalan number swapping example.png
File:Catalan number algorithm table.png
Catalan number algorithm table.png

+ 1 more

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.