Pascal's triangle and the binomial theorem
Expanding $(a + b)^n$ means choosing $a$ or $b$ from each of the $n$ factors, so the coefficient of each term counts the ways to choose, and those counts are row $n$ of Pascal's triangle.
From AP Precalculus.