(a+b)ⁿ · binomial coefficients · Pascal's triangle

(a+b)ⁿ = Σ C(n,k)·aⁿ⁻ᵏ·bᵏ. The coefficients are the binomial coefficients C(n,k) — the next row of Pascal's triangle. The sum of all coefficients is 2ⁿ.
The binomial theorem lets you expand any power of a sum:
where are the binomial coefficients — the next row of Pascal's triangle. For example .
The calculator gives the full expansion and the list of coefficients. Worth remembering: the sum of all coefficients in a row is , and the row is symmetric.
They are the binomial coefficients C(n,k) = n!/(k!(n−k)!), i.e. the number of combinations. They form Pascal's triangle — each one is the sum of the two above it.
Always 2ⁿ — because substituting a = b = 1 into (a+b)ⁿ gives 2ⁿ, which is the sum of all the coefficients.
Teaching? Embed this calculator on your site.
Free widget — paste it on your school site, blog or notes. It links to the full version.