Subtract each square from the next one:
4 − 1 = 3, 9 − 4 = 5, 16 − 9 = 7, 25 − 16 = 9
The gaps are the odd numbers. So adding odd numbers from 1 builds the squares:
1 = 1 1 + 3 = 4 1 + 3 + 5 = 9 1 + 3 + 5 + 7 = 16 1 + 3 + 5 + 7 + 9 = 25
Why? Grow a square by wrapping an inverted L around it. Each L has 2 more unit squares than the one before (see the picture). This is a proof without words.
The sum of the first n odd numbers is n².
Test for a square: keep subtracting 1, 3, 5, … 25 − 1 − 3 − 5 − 7 − 9 = 0 after 5 steps, so 25 = 5². For 38 you get 38 → 37 → 34 → 29 → 22 → 13 → 2, then 2 − 13 is negative: you never hit 0, so 38 is not a square.
Example: find 36², given 35² = 1225. The nth odd number is 2n − 1, so the 36th odd number is 71. Then 36² = 1225 + 71 = 1296.
Tap the diagram to enlarge it
- First n odd numbers add to n²
- nth odd number = 2n − 1
- (n + 1)² = n² + (2n + 1)