Every one of these sums has a formula — and the blocks show you why. Drag to orbit · scroll or pinch to zoom.
View
| Terms added | — |
| Blocks placed | — |
| Blocks in the whole sum | — |
| The formula | — |
| The shape it makes | — |
| Agree? | — |
Where’s the maths? This is algebra — number patterns, and the hunt for the nth term, which is the part of Secondary maths where you look at a growing list of numbers and find one formula that gives you any total without adding anything up. The blocks on screen turn each sum into a shape, and the shape is the reason the formula works. Add the odd numbers 1 + 3 + 5 + … and each new one is an L-shaped collar that wraps neatly round the square you already had, so the running total can only ever be a square number. Lay the counting numbers 1 + 2 + 3 + … out as a staircase, slide a second staircase in upside down, and the two together make a plain rectangle whose sides you can read off — so one staircase is exactly half of it. Do the same trick in three dimensions with cubes and they flatten into a square whose side is that staircase total. Nothing here is checked by trying lots of numbers: you can see in one picture why the formula holds for every n at once, which is what people mean by a “proof without words”.
Beyond the syllabus: proof by induction is A-Level.
Odd numbers make squares: 1 + 3 + 5 + … + (2n − 1) = n². The nth odd number is 2n − 1 — that is the nth-term formula for the sequence 1, 3, 5, 7, … Each L-shaped collar (its old name is a gnomon) is one row of k blocks plus one column of k − 1 blocks, so it holds 2k − 1 blocks, and it turns a k − 1 square into a k square. Algebraically that is the same statement: k² − (k − 1)² = 2k − 1.
The staircase: 1 + 2 + 3 + … + n = n(n + 1)/2. One staircase alone is an awkward shape, but two of them — one upright, one turned through half a turn — interlock into an n × (n + 1) rectangle with no gaps. So twice the sum is n(n + 1), and the sum itself is half of that. These are the triangular numbers 1, 3, 6, 10, 15, … Expanding the product gives (n² + n)/2, so the total is a quadratic in n: double n and the sum roughly quadruples. Carl Friedrich Gauss is said to have used the same pairing trick to add 1 to 100 in his head at the age of nine.
Cubes: 1³ + 2³ + … + n³ = (1 + 2 + … + n)². This one looks like a coincidence and is not. Write T(k) = 1 + 2 + … + k. The L-shaped collar that grows a square of side T(k − 1) into a square of side T(k) has area T(k)² − T(k − 1)², and expanding that difference of two squares gives (T(k) + T(k − 1)) × (T(k) − T(k − 1)) = k² × k = k³. So the whole of a k × k × k cube fits exactly into one collar — watch it unstack layer by layer as it flies across — and the finished square has side T(n) = n(n + 1)/2. The result is named after Nicomachus of Gerasa, about 100 AD.
Drag to orbit · scroll or pinch to zoom · Step adds one layer · the slider changes n.