Nepedia
Back to Discover
Fluent Reader
🔢

Catalan number

math Maturity 7-9 Next article →

Imagine you are drawing a mountain range on a piece of paper. You want to make sure the mountains never dip below the flat ground. How many different ways can you draw those peaks and valleys? This is a counting puzzle that leads to a special set of numbers. These are called the Catalan numbers. They are a sequence of natural numbers used to solve many different types of counting problems.

Catalan-Hexagons-example
Catalan-Hexagons-example

They often appear when we look at objects that follow a specific rule or pattern.

These numbers work by counting how many ways we can organize things. For example, they can count the ways to group items using parentheses. If you have four items, there are five ways to group them correctly.

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

They also count paths on a grid. Imagine a path that only moves right or up. The Catalan numbers tell us how many paths stay below a diagonal line.

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

Another way to see them is through shapes. You can use them to count how many ways to cut a shape into triangles without the lines crossing.

Noncrossing partitions 5
Noncrossing partitions 5

History tells us that these numbers have been known for a long time. They are named after a mathematician named Eugène Catalan. However, they were discovered even earlier. A person named Minggatu found them in the 1730s.

Mingantu's Catalan numbers
Mingantu's Catalan numbers

This shows that different people often find the same patterns in math. Even before they had a formal name, these numbers were part of how people understood counting.

There are many interesting facts about these numbers. The first few numbers in the sequence are 1, 1, 2, 5, and 14. Most Catalan numbers are even numbers. In fact, the only ones that are odd happen when a certain math rule is met. Only two Catalan numbers are prime numbers, which are 2 and 5.

Dyck lattice D4
Dyck lattice D4

As the numbers get larger, they grow very quickly. They follow a specific formula that uses parts of other math ideas called binomial coefficients.

If you like puzzles, you might see Catalan numbers in many places. They appear in computer science when looking at how sentences are built. They also show up in biology when studying how things branch out. Even in simple games, they can describe the ways to move on a board.

Catalan number exceedance example
Catalan number exceedance example

They help us understand the hidden rules of how shapes and paths can fit together. Math is full of these secret patterns waiting to be found.

400 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.