△

Pascal's Triangle

One of the most studied objects in mathematics — and still full of surprises. Explore its patterns interactively.

16

Fun Facts

mod
11112113311464115101051161520156117213535217118285670562881193684126126843691110451202102522101204510111155165330462462330165551111126622049579292479249522066121113782867151287171617161287715286781311149136410012002300334323003200210013649114111510545513653003500564356435500530031365455105151

Modular coloring reveals self-similar fractal patterns. With mod 2, you see Sierpiński's triangle. Higher moduli produce increasingly intricate structures — all arising from a single recursive rule.

About this visualization

Pascal's triangle is built from a simple rule: each entry is the sum of the two entries above it. Despite this simplicity, the triangle encodes a remarkable wealth of mathematical structure.

Use the controls above to switch between different highlight modes. Modular coloring reveals fractal self-similarity. Fibonacci mode highlights entries that are Fibonacci numbers. Diagonal mode shows the figurate number sequences. Hover over any cell to see its binomial coefficient value.

Try increasing the number of rows and switching to mod 3 or mod 5 — the patterns become increasingly intricate and beautiful.