Start with 1s down the edges; every inside number is the sum of the two above it. Out falls the whole of combinatorics — the binomial coefficients, the counts of how many ways to choose. The name is a 700-year misattribution: India, Persia and China had it centuries before Blaise Pascal. And it is the dart that finds a real edge: small rows run in I-13’s array, but the big ones need an array of bignums — and the campaign’s two value-model additions do not yet compose.
Each entry is the sum of the two directly above. Row n is the coefficients of (x+y)n; the k-th entry is C(n,k), the number of ways to choose k of n. Slide a row into the next by adding neighbours. The middle entries explode — ask for the centre of row 100 and watch it need every digit. live demo
“Pascal’s” triangle — and Pascal (1654) was among the first last to arrive. cited
Every culture drew the same triangle; only the West’s name stuck to the whole world. misnamed, like Fibonacci-051
A row is a bounded array; slide it into the next by adding neighbours right-to-left in place (so each write uses the old left value) — the same downward scan as knapsack-053. Small rows run exactly:
But the big rows need bignum entries (C(100,50) is 30 digits; f64 can’t hold row 57 exactly — it is the first row past 2⁵³, the last exact central term being C(56,28)) — and an array cannot hold a bignum: