← All tools

Pascal's Triangle Generator

Generate Pascal's triangle to any number of rows — binomial coefficients C(n,k) where each cell is the sum of the two above it. Toggle parity colouring to reveal the Sierpinski triangle, and copy a row or the whole triangle. Runs locally.

Row n sums to 2ⁿ; entries are binomial coefficients C(n,k). Runs locally.