An extension of the combinatorics and binomial-coefficient topic. Each term of Pascal’s triangle is the sum of the two terms above it; row n contains the coefficients of the binomial (a+b)ⁿ — the binomial coefficients C(n,k). The sum of row n is always 2ⁿ. The triangle was known earlier in China, Persia and India, but it was Blaise Pascal who systematised its properties in a treatise written in 1654.

I’ll give you a target row sum — set the slider n so that you reach it. Remember: the sum of row n is 2ⁿ.
What just happened?
Every number in the triangle is the sum of the two numbers directly above it (the outermost numbers in each row are always 1). This simple addition rule generates, row by row, exactly the same numbers you get from the binomial-coefficient formula — this is no coincidence, they are two sides of the same coin.
A little history
This triangle was known to mathematicians in China (Yang Hui, around 1261), in Persia and in India long before Europe. But it was the French mathematician and philosopher Blaise Pascal who, in his treatise “Traité du triangle arithmétique” — written in 1654 and published posthumously in 1665 — systematised its properties and connected them with probability and combinatorics. Earlier, corresponding with Pierre de Fermat on problems of games of chance, Pascal laid the foundations of probability theory.
Binomial coefficient:
— the number of ways to choose k elements from an n-element set (without repetition, order irrelevant). Row n of the triangle is, in order: .
The binomial theorem:
That is why row n of the triangle is exactly the set of coefficients in the expansion of — e.g. for n = 4: , and the numbers 1, 4, 6, 4, 1 are precisely row 4.
Hidden patterns in the diagonals
The outermost diagonal is all ones, the next one the natural numbers (1, 2, 3, 4…), and the third (highlighted in yellow) the triangular numbers: 1, 3, 6, 10, 15… The sum of all the numbers in row n is always exactly — this is the invariant of this model.
Why this matters for your exams:
Problems about choosing k elements from n (combinations), the binomial theorem and sums of coefficients are all solved by the same triangle. The trick: don’t compute factorials by hand for small n — read the value straight off the triangle.
Remember: every term is the sum of the two above it, row n holds the coefficients of , and the sum of row n is always .
Each term is the sum of the two terms above it; the edges are . Row (numbered from ) contains the binomial coefficients.
Notation: the row number, the position, the binomial coefficient.
Each number is the sum of the two numbers directly above it, and the edge numbers are always 1.
The binomial coefficients C(n,k) — the number of ways to choose k elements from an n-element set.
Always exactly 2ⁿ.
Teaching? Embed this experiment on your site.
Free widget — paste it on your school site, blog or notes. It links to the full version.