Cubes That Add to a Square
The puzzle
Add the cubes of the first ten whole numbers: 1 + 8 + 27 + 64 + ... + 1000.
What is the total, and what is remarkable about it?
Stuck?
One at a time, smallest first. Open only as many as you need — the whole point of the puzzle is the part you work out yourself.
Hint 1
Try the first few: 1, then 1+8 = 9, then 1+8+27 = 36.
Hint 2
1, 9, 36 are 1^2, 3^2, 6^2 - and 1, 3, 6 are the triangular numbers.
Show the answer Hide the answer
3025, which is 55^2 - and 55 is 1 + 2 + ... + 10.
How to get there
The partial sums are 1, 9, 36, 100, 225, ... - every one a perfect square, and the roots are 1, 3, 6, 10, 15, which are the triangular numbers 1+2+...+n.
So the sum of the first n cubes equals (1 + 2 + ... + n)^2 = (n(n+1)/2)^2. For n = 10 the inner sum is 10 x 11/2 = 55, so the total is 55^2 = 3025.
Checking directly: 1 + 8 + 27 + 64 + 125 + 216 + 343 + 512 + 729 + 1000 = 3025. The identity has a neat picture behind it - a square of side 1+2+...+n can be cut into n L-shaped pieces whose areas are exactly the cubes.
The technique worth keeping
Compute the first few partial sums and look them up in your head against squares, triangular numbers and factorials. A pattern spotted at n = 3 is usually a theorem, and recognising the shape is faster than deriving it.