Opening: The 100-Locker Puzzle (Pages 1–3)
Factor pairs decide how many times a locker is toggled.
Locker k is toggled once by every person whose number divides k. So the number of toggles equals the number of factors of k. A locker is open at the end exactly when this count is odd.
Step 1: \(6: 1\times6,\ 2\times3\)
Step 2: Factors of 6 are 1, 2, 3, 6 — four of them, an even number, so locker 6 closes.
Step 3: \(9: 1\times9,\ 3\times3\) — factors 1, 3, 9, three of them, odd.
Step 4: A self-partner like 3 × 3 is counted once, so only squares have an odd number of factors.
No. Most numbers have factors in distinct partner pairs, giving an even count, but a square has one factor that pairs with itself. For example, \(4=1\times4=2\times2\) has factors 1, 2, 4 — three factors, which is odd.
Yes. Take any natural number n and form \(n^2=n\times n\). Every factor other than n has a different partner, while n pairs with itself. Therefore the total number of factors is odd. Examples: \(1^2=1\), \(2^2=4\), \(3^2=9\), \(4^2=16\), \(5^2=25\), \(6^2=36\), and so on.
Step 1: \(1^2=1,\ 2^2=4,\ 3^2=9,\ 4^2=16,\ 5^2=25\)
Step 2: \(6^2=36,\ 7^2=49,\ 8^2=64,\ 9^2=81,\ 10^2=100\)
A locker touched exactly twice has exactly two factors: 1 and the number itself. Such numbers are prime. The first five primes are 2, 3, 5, 7 and 11.
1.1 Square Numbers — Area Table and Notation
Side length multiplied by itself gives the area of a square.
The number of unit squares inside a square of side s is s × s, the area. Hence each value is a geometrical square array of dots.
| Side (units) | Area (sq units) |
|---|---|
| 1 | \(1\times1=1\) |
| 2 | \(2\times2=4\) |
| 3 | \(3\times3=9\) |
| 4 | \(4\times4=16\) |
| 5 | \(5\times5=25\) |
| 10 | \(10\times10=100\) |
Step 1: \(\left(\frac35\right)^2 = \frac35\times\frac35 = \frac9{25}\)
Step 2: \((2.5)^2 = 2.5\times2.5 = 6.25\)
Patterns and Properties of Perfect Squares
Units digits, trailing zeros, parity and the first-thirty square table.
| n | \(n^2\) | n | \(n^2\) | n | \(n^2\) |
|---|---|---|---|---|---|
| 1 | 1 | 11 | 121 | 21 | 441 |
| 2 | 4 | 12 | 144 | 22 | 484 |
| 3 | 9 | 13 | 169 | 23 | 529 |
| 4 | 16 | 14 | 196 | 24 | 576 |
| 5 | 25 | 15 | 225 | 25 | 625 |
| 6 | 36 | 16 | 256 | 26 | 676 |
| 7 | 49 | 17 | 289 | 27 | 729 |
| 8 | 64 | 18 | 324 | 28 | 784 |
| 9 | 81 | 19 | 361 | 29 | 841 |
| 10 | 100 | 20 | 400 | 30 | 900 |
Observations from the table:
- Consecutive squares differ by odd numbers: 3, 5, 7, 9, …
- The units digit is always 0, 1, 4, 5, 6 or 9.
- A number ending in 0 has a square ending in 00; one ending in 5 ends in 25.
- Even inputs give even squares; odd inputs give odd squares.
- The gaps between squares grow by 2 each time.
Looking down the table, the last digits seen are 1, 4, 9, 6, 5, 6, 9, 4, 1, 0, and the pattern repeats. The complete possible set is 0, 1, 4, 5, 6 and 9. No square ends in 2, 3, 7 or 8.
No. The units digit only tells us when a number is not a square. Both 16 and 36 are squares ending in 6, but 26 also ends in 6 and is not a square because \(5^2=25<26<36=6^2\). Similarly 21 ends in 1 but is not a square.
Choose numbers ending in 2, 3, 7 or 8, since no square has those units digits. Examples: 22, 33, 47, 58, 93. For instance, \(22\) ends in 2, so it cannot be a square.
Step 1: The next numbers ending in 1 or 9 are 31 and 39.
Step 2: \(31^2 = 961\)
Step 3: \(39^2 = 1521\)
Since \(4^2=16\) and \(6^2=36\), only bases ending in 4 or 6 produce a square ending in 6. The bases 38, 34, 46, 56, 74 and 82 end in 8, 4, 6, 6, 4 and 2 respectively.
- Numbers ending in 5 have squares ending in 25: \(15^2=225\), \(25^2=625\).
- Numbers ending in 0 have squares ending in 00: \(20^2=400\), \(30^2=900\).
- Numbers ending in 2 or 8 have squares ending in 4: \(12^2=144\), \(18^2=324\).
- Numbers ending in 3 or 7 have squares ending in 9: \(13^2=169\), \(17^2=289\).
Step 1: \(n = m\times10^3\)
Step 2: \(n^2 = m^2\times10^6\)
Answer: 6 trailing zeros.
Examples in the book: \(10^2=100\), \(20^2=400\), \(40^2=1600\) and \(100^2=10000\), \(200^2=40000\), \(700^2=490000\), \(900^2=810000\). One zero becomes two, two become four. This always happens because squaring doubles every exponent in the prime factorisation, including the power of 10. Therefore a square always has an even number of trailing zeros — and never exactly an odd number such as 1, 3 or 5.
An even number is \(2k\), so its square \(4k^2\) is even. An odd number is \(2k+1\), so its square \(4k^2+4k+1\) is odd. Examples: \(8^2=64\) (even) and \(9^2=81\) (odd).
Perfect Squares and Odd Numbers
Odd-number sums, square testing and counting between squares.
Step 1: \(4-1=3,\ 9-4=5,\ 16-9=7,\ 25-16=9\)
Step 2: \(36-25=11,\ 49-36=13,\ 64-49=15\)
Step 3: \((n+1)^2-n^2 = 2n+1\)
Step 1: \(\text{36th odd number} = 2\times36-1 = 71\)
Step 2: \(36^2 = 1225+71 = 1296\)
Step 1: \(38-1=37,\ 37-3=34,\ 34-5=29\)
Step 2: \(29-7=22,\ 22-9=13,\ 13-11=2\)
Step 3: \(2-13=-11\)
The subtraction crosses zero instead of landing exactly on it. Since \(6^2=36\) and \(7^2=49\), the number 38 lies between two consecutive squares and is not a square.
Step 1: Let the squares be \(p=n^2\) and \(q=(n+1)^2\).
Step 2: \(q-p-1 = (n+1)^2-n^2-1 = 2n\)
Check: Between \(4^2=16\) and \(5^2=25\) there are \(17,18,\ldots,24\): eight numbers \(=2\times4\).
| Block | Squares in it | Count |
|---|---|---|
| 1–100 | \(1^2\) to \(10^2\) | 10 |
| 101–200 | \(11^2,12^2,13^2,14^2\) | 4 |
| 201–300 | \(15^2,16^2,17^2\) | 3 |
| 301–400 | \(18^2,19^2,20^2\) | 3 |
| 401–500 | \(21^2,22^2\) | 2 |
| 501–600 | \(23^2,24^2\) | 2 |
| 601–700 | \(25^2,26^2\) | 2 |
| 701–800 | \(27^2,28^2\) | 2 |
| 801–900 | \(29^2,30^2\) | 2 |
| 901–1000 | \(31^2=961\) | 1 |
Perfect Squares and Triangular Numbers
Two consecutive triangles tile a square.
Triangular numbers are 1, 3, 6, 10, 15, … The book shows \(1+3=4=2^2\), \(3+6=9=3^2\), \(6+10=16=4^2\). The next term is \(10+15=25=5^2\), which can be drawn as a 5-by-5 array split into a triangle of 10 dots and a triangle of 15 dots along a staircase diagonal.
General rule: \(T_n+T_{n+1}=(n+1)^2\)
Check: \(T_4+T_5=10+15=25=5^2\)
Square Roots
Definition, two integer roots, three checking methods and estimation.
Step 1: \(\text{Area} = \text{side}^2\)
Step 2: \(7\times7=49=7^2\)
Step 3: \(\text{side}=\sqrt{49}=7\ \text{cm}\)
Step 1: \(8^2 = 8\times8 = 64\)
Step 2: \((-8)^2 = (-8)\times(-8) = 64\)
Step 3: \(\sqrt{64} = ±8\)
Thus 64 has two integer square roots, +8 and −8. This chapter uses only the positive root, 8.
First use the units-digit test. 327 ends in 7, which no square can end in, so it is definitely not a perfect square. The number 576 ends in 6, so it might be a square; we must check. Listing squares from \(20^2\):
Step 1: \(20^2=400,\ 21^2=441,\ 22^2=484\)
Step 2: \(23^2=529,\ 24^2=576\)
Step 1: Subtract \(1,3,5,\ldots\) from 729 in order.
Step 2: After subtracting the first 26 odd numbers, the total removed is \(26^2=676\); remainder 53.
Step 3: \(53-53=0\), where 53 is the 27th odd number \(2\times27-1\).
Step 4: \(\sqrt{729}=27\)
Step 1: \(324 = 2\times2\times3\times3\times3\times3\)
Step 2: \(324 = (2\times3\times3)\times(2\times3\times3)\)
Step 3: \(324 = 18^2\)
Step 1: \(156 = 2\times2\times3\times13\)
Step 2: The primes 3 and 13 occur once each, so the factors cannot be split into two equal groups.
Step 1: \(1156 = 2\times2\times17\times17 = (2\times17)^2 = 34^2\)
Step 2: \(2800 = 2^4\times5^2\times7\)
Step 3: The factor 7 is unpaired, so 2800 is not a square.
Step 1: \(1600=40^2 < 1936 < 50^2=2500\)
Step 2: Last digit 6 implies the root ends in 4 or 6, i.e. 44 or 46.
Step 3: \(45^2=(40+5)^2=1600+400+25=2025\)
Step 4: \(2025>1936\), so \(40<\sqrt{1936}<45\); test 44.
Step 5: \(44^2=1936\)
Step 1: \(100=10^2 < 250 < 20^2=400\)
Step 2: \(15^2=225 < 250 < 256=16^2\)
Step 3: 256 is closer to 250 than 225 is.
Step 1: A 15 cm handkerchief needs area \(15^2=225\) cm².
Step 2: \(225>125\), so it cannot be cut.
Step 3: \(11^2=121 < 125 < 144=12^2\)
Figure it Out (Page 10)
Nine exercise questions on square numbers and roots.
Step 1: \(2032\to2,\ 2048\to8,\ 1027\to7,\ 1089\to9\)
Step 2: Digits 2, 8 and 7 are impossible for a square; 9 is possible.
Step 3: \(33^2=1089\), so 1089 is a square.
Step 1: \(64^2=4096\to6\)
Step 2: \(108^2=11664\to4\)
Step 3: \(292^2=85264\to4\)
Step 4: \(36^2=1296\to6\)
Step 1: \((n+1)^2=n^2+2n+1\)
Step 2: \(126^2=125^2+2\times125+1\)
Step 3: \(=15625+250+1=15625+251\)
Step 1: \(20^2=400 < 441 < 22^2=484\)
Step 2: \(21^2=21\times21=441\)
Step 3: \(\sqrt{441}=21\)
Step 1: \(4=2^2,\quad 9=3^2,\quad 10=2\times5\)
Step 2: \(\text{LCM}=2^2\times3^2\times5=180\)
Step 3: The prime 5 is unpaired; multiply by 5.
Step 4: \(180\times5=900=30^2\)
Step 1: \(9408 = 2^6\times3\times7^2\)
Step 2: Only the 3 is unpaired, so multiply by 3.
Step 3: \(9408\times3 = 28224 = 2^6\times3^2\times7^2\)
Step 4: \(\sqrt{28224}=2^3\times3\times7=8\times3\times7=168\)
Step 1 (i): \(16^2=256,\ 17^2=289\)
Step 2 (i): \(289-256-1=32\)
Step 1 (ii): \(99^2=9801,\ 100^2=10000\)
Step 2 (ii): \(10000-9801-1=198\)
The rule is \(a^2+(a+1)^2+[a(a+1)]^2=[a(a+1)+1]^2\). The third term is the product of the first two bases, and the answer base is one more.
Step 1: \(4\times5=20,\quad 20+1=21\)
Step 2: \(4^2+5^2+20^2=16+25+400=441=21^2\)
Step 3: \(9\times10=90,\quad 90+1=91\)
Step 4: \(9^2+10^2+90^2=81+100+8100=8281=91^2\)
The picture contains 81 larger squares, and each larger square is divided into 25 tiny squares. So the total number of tiny squares is \(81\times25=2025\).
Step 1: \(81\times25=2025\)
Step 2: \(2025=3^4\times5^2\)
Check: \(3^4=81,\ 5^2=25\)
1.2 Cubic Numbers
Geometric cubes, notation, table and last-digit patterns.
Step 1: \(2\times2\times2=8\) unit cubes.
Step 2: \(3\times3\times3=27\) unit cubes.
Each is a number multiplied by itself three times: \(1=1^3\), \(8=2^3\), \(27=3^3\). They count unit cubes that tile a geometric cube. Since \(2^3=8<9<27=3^3\), there is no whole number whose cube is 9, so 9 is not a perfect cube; nor is any integer from 10 to 26.
Step 1: Each layer has \(4\times4=16\) unit cubes.
Step 2: There are 4 such layers.
Step 3: \(4\times4\times4=4^3=64\)
| n | \(n^3\) | n | \(n^3\) |
|---|---|---|---|
| 1 | 1 | 11 | 1331 |
| 2 | 8 | 12 | 1728 |
| 3 | 27 | 13 | 2197 |
| 4 | 64 | 14 | 2744 |
| 5 | 125 | 15 | 3375 |
| 6 | 216 | 16 | 4096 |
| 7 | 343 | 17 | 4913 |
| 8 | 512 | 18 | 5832 |
| 9 | 729 | 19 | 6859 |
| 10 | 1000 | 20 | 8000 |
- Cubes grow much faster than squares.
- Every digit 0–9 can occur as the units digit of a cube.
- Cubes of numbers ending in 0 end in 000; those ending in 5 end in 125, 375, 625 or 875.
- \(1^3=1\) and \(8^3=512\) etc. show cubes may be odd or even depending on the base.
Check bases 0 to 9: \(0^3=0\), \(1^3=1\), \(2^3=8\), \(3^3=27\), \(4^3=64\), \(5^3=125\), \(6^3=216\), \(7^3=343\), \(8^3=512\), \(9^3=729\). The final digits are 0, 1, 8, 7, 4, 5, 6, 3, 2, 9 — all ten digits.
| Digits | Cubes | Count |
|---|---|---|
| 1 | \(1^3=1,\ 2^3=8\) | 2 |
| 2 | \(3^3=27,\ 4^3=64\) | 2 |
| 3 | \(5^3=125,\ldots,9^3=729\) | 5 |
If a base ends in k zeros, it contains \(10^k\). Cubing gives \(10^{3k}\), so the cube ends in \(3k\) zeros — a multiple of 3. To end in exactly two zeros we would need \(3k=2\), impossible for a whole number k.
Taxicab Numbers
The Hardy–Ramanujan story and the Try This task.
Step 1: \(4104 = 2^3+16^3 = 8+4096\)
Step 2: \(4104 = 9^3+15^3 = 729+3375\)
Step 3: \(13832 = 2^3+24^3 = 8+13824\)
Step 4: \(13832 = 18^3+20^3 = 5832+8000\)
Ramanujan constantly experimented with numbers, computing and comparing sums of cubes mentally. That habit let him recall that 1729 = \(1^3+12^3\) = \(9^3+10^3\) instantly. His colleague Littlewood said every positive integer was “one of his personal friends”, meaning Ramanujan knew numerical properties that others saw as arbitrary.
Perfect Cubes and Consecutive Odd Numbers
Grouping odd numbers into threes to obtain cubes.
Step 1: Group 1: one odd number = \(1^3\); group 2: \(3+5=8=2^3\).
Step 2: Group n has n consecutive odd numbers and sums to \(n^3\).
Step 3: The nine earlier groups use \(1+2+\cdots+9=45\) odd numbers, ending at the 45th odd number, 89.
Step 4: The given ten terms are the next group, the 10th.
Step 5: \(91+\cdots+109=10^3=1000\)
Cube Roots and Successive Differences
Prime-factor triplets and constant third differences.
Step 1: \(3375=3\times3\times3\times5\times5\times5\)
Step 2: \(3375=(3\times5)^3=15^3\)
Step 3: \(\sqrt[3]{3375}=15\)
Step 4: \(500=2\times2\times5\times5\times5\) — the two 2s cannot form a triplet.
Step 1: \(64=4^3\), so \(\sqrt[3]{64}=4\).
Step 2: \(512=8^3\), so \(\sqrt[3]{512}=8\).
Step 3: \(729=9^3\), so \(\sqrt[3]{729}=9\).
| Level | Values |
|---|---|
| Perfect cubes | 1, 8, 27, 64, 125, 216, 343, … |
| Level 1 | 7, 19, 37, 61, 91, 127, … |
| Level 2 | 12, 18, 24, 30, 36, … |
| Level 3 | 6, 6, 6, 6, … |
1.3 A Pinch of History
Why the words square and root have their names.
In ancient India the Sanskrit word mula meant the root of a plant, and also basis, cause or origin. Varga-mula meant the origin or basis of the square, that is the square root; ghana-mula meant the cube root. The word was used in India at least from the first century BCE. It passed into Arabic as jidhr and Latin as radix, the source of our word “root”. Another Sanskrit term was pada, meaning foot or basis; Brahmagupta (628 CE) defined the pada of a krti as that of which it is a square.
The Sanskrit terms were varga for the square figure, its area and the square power; ghana for the solid cube and the product of a number with itself three times; and varga-varga for the fourth power. These were used in India at least from the third century BCE; Aryabhata (499 CE) states the definition of varga explicitly. The earliest known lists of squares and cubes were compiled by the Babylonians around 1700 BCE on clay tablets, for land measurement and architectural design.
Figure it Out (Page 16)
Five exercise questions on cubes and cube roots.
Step 1: \(27000 = 27\times1000 = 3^3\times10^3 = 30^3\)
Step 2: \(\sqrt[3]{27000}=30\)
Step 3: \(10648 = 2^3\times11^3 = 22^3\)
Step 4: \(\sqrt[3]{10648}=22\)
Step 1: \(1323 = 3\times3\times3\times7\times7 = 3^3\times7^2\)
Step 2: The 7s need one more 7 to form a triplet.
Step 3: \(1323\times7 = 9261 = 21^3\)
(i): False. Odd × odd × odd is odd; \(3^3=27\) is odd.
(ii): False. \(2^3=8\) and \(12^3=1728\) both end in 8.
(iii): False. The smallest 2-digit number is 10 and \(10^3=1000\), already 4 digits.
(iv): False. The largest 2-digit number is 99 and \(99^3=970299\), only 6 digits.
(v): False. Only squares have an odd number of factors; \(8\) has factors 1, 2, 4, 8 — four of them.
Use the units digit of the cube to guess the units digit of the root, then check the size.
Step 1: 1331 ends in 1; only a root ending in 1 cubes to end in 1. \(11^3=1331\), so root 11.
Step 2: 4913 ends in 3; a root ending in 7 cubes to end in 3. \(17^3=4913\), so root 17.
Step 3: 12167 ends in 7; a root ending in 3 cubes to end in 7. \(23^3=12167\), so root 23.
Step 4: 32768 ends in 8; a root ending in 2 cubes to end in 8. \(32^3=32768\), so root 32.
Step 1 (i): \(67^3-66^3=3(66)^2+3(66)+1=13068+198+1=13267\)
Step 2 (ii): \(43^3-42^3=3(42)^2+3(42)+1=5292+126+1=5419\)
Step 3 (iii): \(67^2-66^2=(67-66)(67+66)=133\)
Step 4 (iv): \(43^2-42^2=(43-42)(43+42)=85\)
Summary and Square Pairs Activity
Final summary ideas and the end-of-chapter puzzle.
One valid arrangement is 17-8-1-15-10-6-3-13-12-4-5-11-14-2-7-9-16. Checking the links:
Step 1: \(17+8=25,\ 8+1=9,\ 1+15=16\)
Step 2: \(15+10=25,\ 10+6=16,\ 6+3=9\)
Step 3: \(3+13=16,\ 13+12=25,\ 12+4=16\)
Step 4: \(4+5=9,\ 5+11=16,\ 11+14=25\)
Step 5: \(14+2=16,\ 2+7=9,\ 7+9=16,\ 9+16=25\)
The number 17 can pair only with 8 (since 17 + 8 = 25 is the only square sum available up to 34), so it must be at an end. Following the forced chain gives the arrangement above, up to reversal: there is essentially one way.
One circular arrangement is 1-8-28-21-4-32-17-19-30-6-3-13-12-24-25-11-5-31-18-7-29-20-16-9-27-22-14-2-23-26-10-15, and back to 1. Sample checks:
Step 1: \(1+8=9,\ 8+28=36,\ 28+21=49\)
Step 2: \(21+4=25,\ 4+32=36,\ 32+17=49\)
Step 3: \(10+15=25,\ 15+1=16\) (closing link)