🔢 Pascal's Triangle (2D)

Color mode:
Row-by-row build:
Click or hover a cell to inspect.

📊 Live stats

Rows shown—
Sum of last row—
Max coefficient—
Total cells—
Distribution mean—
Std deviation σ—

Last row → bell curve

Normalized row n behaves like a Binomial(n, ½) distribution. By the De Moivre–Laplace theorem, as n grows the bars hug the dashed Gaussian curve with mean n/2 and σ = √(n)/2.
Pascal's Triangle
C(n,k) = C(n−1,k−1) + C(n−1,k)
Row sum = 2n  |  C(n,k) = n!/(k!(n−k)!)