PASCAL'S TRIANGLE SIMULATION

A table built from nothing but addition hides both a fractal and a bell curve inside itself. Each cell is the sum of the two above it, and that same cell counts the ways of choosing k objects from n, the paths descending to it from the apex, and the coefficients in the expansion of (a+b)ⁿ. A row sums to 2ⁿ because that is the number of subsets of an n-element set. Shade only the odd entries and the Sierpinski triangle emerges, which Lucas’ theorem explains neatly: C(n,k) is odd exactly when every 1-bit of k sits where n also has a 1-bit.

▸ Placing the apex C(0,0) = 1…
▸ Building each row by Pascal's addition rule
▸ Attaching the combinatorial meaning C(n,k) to each cell
▸ Calibrating paths · binomial expansion
▸ Starting Sierpinski & Fibonacci modes…
▸ Ready — Online. ✅
0%
⌂ Mathematics

Simulation room Pascal's triangle

Pascal's Triangle · Combinatorics
Online
C(n,k) · combinatorics · Sierpinski · Fibonacci
Selected cell & figures
🔺 Pascal's triangle
C(n,k) = C(n−1,k−1) + C(n−1,k)
Rows shown—
Selected cell (n, k)—
C(n, k)—
Row sum = 2ⁿ—
Odd cells (shown)—
Tip
Each cell = the sum of the two above. The cell at row n, column k is C(n,k) — the number of ways to choose k items from n. Hover to see the two parents; click a cell to select it. Switch the Scenario to see paths, fractals, Fibonacci…
—
Click a cell to select · drag Rows to build higher · switch the Scenario (paths · Sierpinski · mod 3 · expansion · hockey stick · Fibonacci)
Your browser has canvas disabled.
C(n,k) of selected cell · row sum (log) · odd-cell count — as it builds C(n,k) (log)sum 2ⁿ (log)odd cells
About Pascal / Combinatorics

A table built from nothing but addition hides both a fractal and a bell curve inside itself. Each cell is the sum of the two above it, and that same cell counts the ways of choosing k objects from n, the paths descending to it from the apex, and the coefficients in the expansion of (a+b)ⁿ. A row sums to 2ⁿ because that is the number of subsets of an n-element set. Shade only the odd entries and the Sierpinski triangle emerges, which Lucas’ theorem explains neatly: C(n,k) is odd exactly when every 1-bit of k sits where n also has a 1-bit.

Related topics in Mathematics