A Square and A Cube
The locker puzzle, square numbers and their patterns, squares as sums of odd numbers, square roots by subtraction, prime factorisation and estimation, cube numbers, the Hardy–Ramanujan taxicab number, cube roots, and the Indian words varga, ghana and mula.
Squares and Square Roots
6 topics to learn here
The locker puzzle
Squares have an odd number of factors.
- 1
100 people toggle 100 lockers: person k toggles every kth locker. A locker is toggled once for each of its factors.
- 2
Factors come in partner pairs whose product is the number (6 = 1 × 6 = 2 × 3), so most numbers have an even number of factors and end up closed.
- 3
When a factor pairs with itself (36 = 6 × 6), the number has an odd number of factors – these are exactly the square numbers.
- 4
Open lockers: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100.
- 5
Lockers touched exactly twice have only two factors – the primes: 2-3-5-7-11 was the passcode.
Which lockers are touched exactly twice?
✅ The prime-numbered ones.
Square numbers and their notation
n² as the area of a square.
- 1
The area of a square of side n units is n × n square units, so 1, 4, 9, 16, 25… are called squares.
- 2
Notation: n × n = n², read ‘n squared’. Squares of natural numbers are perfect squares.
- 3
Fractions and decimals can be squared too: (3/5)² = 9/25, (2.5)² = 6.25.
| n | n² | n | n² | n | n² |
|---|---|---|---|---|---|
| 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 |
What is (0.3)²?
✅ 0.09.
Patterns in perfect squares
Units digits, zeros, parity.
- 1
Units digit of a square is always 0, 1, 4, 5, 6 or 9. A number ending in 2, 3, 7 or 8 is never a square (but ending in 6 doesn’t prove it is one: 26 isn’t).
- 2
A number ending in 1 or 9 has a square ending in 1; ending in 4 or 6 → square ends in 6 (34², 46², 56², 74² all end in 6).
- 3
Zeros: the square has twice as many zeros at the end (3 zeros → 6 zeros). So a square can only end in an even number of zeros.
- 4
Parity: an even number has an even square; an odd number has an odd square.
Can 4,327 be a perfect square?
✅ No – it ends in 7.
Squares and odd numbers
Sum of first n odd numbers = n².
- 1
Differences of consecutive squares are the odd numbers: 4 − 1 = 3, 9 − 4 = 5, 16 − 9 = 7…
- 2
So the sum of the first n odd numbers is n² – each inverted L of dots adds the next odd number.
- 3
The nth odd number is 2n − 1. So (n + 1)² = n² + (2n + 1).
- 4
Test for a square: keep subtracting 1, 3, 5, … If you reach exactly 0, it is a square; the number of steps is the root. (25: 5 steps → √25 = 5; 38 overshoots, so not a square.)
- 5
Between n² and (n + 1)² there are 2n non-square numbers (between 16² and 17² there are 32).
- 6
Two consecutive triangular numbers add to a square: 1 + 3 = 4, 3 + 6 = 9, 6 + 10 = 16.
Given 35² = 1225, find 36².
- 1225 is the sum of the first 35 odd numbers.
- The 36th odd number is 2 × 36 − 1 = 71.
Answer: 36² = 1225 + 71 = 1296.
Sum of the first 10 odd numbers?
✅ 100 (10²).
Square roots
√ by subtraction or prime pairs.
- 1
If y = x², then x is a square root of y. A square of area 49 cm² has side 7 cm.
- 2
Every perfect square has two integer square roots: 8² = 64 and (−8)² = 64. The symbol √ means the positive root; this chapter uses only that.
- 3
Ways to find a square root: list squares until you reach the number; subtract successive odd numbers; or use prime factorisation.
- 4
Prime factorisation test: a number is a perfect square if its prime factors can be split into two identical groups (or written in pairs).
💡 UnderstandSquare roots let you find the side of any square plot from its area – used in every land map.
Is 324 a perfect square?
- 324 = 2 × 2 × 3 × 3 × 3 × 3 = (2 × 2) × (3 × 3) × (3 × 3).
- Every factor pairs up; one group is 2 × 3 × 3 = 18.
Answer: Yes: √324 = 18. (156 = 2 × 2 × 3 × 13 can’t be paired, so it isn’t a square.)
✗Every number ending in 1, 4, 5, 6 or 9 is a perfect square.
✓Those endings are only possible for squares; 26, 21, 39 are not squares. Only endings 2, 3, 7, 8 settle the matter (never squares).
Is 156 a perfect square?
✅ No – 156 = 2 × 2 × 3 × 13; 3 and 13 have no partners.
Estimating square roots
Trap between two squares.
- 1
To find √1936: 40² = 1600 < 1936 < 2500 = 50², so the root is between 40 and 50.
- 2
It ends in 6, so the root ends in 4 or 6 → 44 or 46. Since 45² = 2025 > 1936, it is 44.
- 3
Useful trick: (40 + 5)² = 40² + 2 × 40 × 5 + 5² = 2025.
- 4
For non-squares we estimate: 15² = 225 < 250 < 256 = 16², so √250 is a little less than 16.
- 5
Akhil’s 125 cm² cloth: 11² = 121 < 125 < 144 = 12², so the biggest whole-number square hanky has side 11 cm.
Between which whole numbers is √50?
✅ 7 and 8 (49 < 50 < 64).
Cubes and Cube Roots
4 topics to learn here
Cube numbers
n³ as unit cubes in a cube.
- 1
A cube of side 2 needs 8 unit cubes; side 3 needs 27; side 4 needs 4 layers of 16 = 64. These are perfect cubes.
- 2
Notation: n × n × n = n³. 9 is not a cube (8 < 9 < 27), nor is any number from 10 to 26.
- 3
Cubes can end in any digit. There are 2 one-digit cubes (1, 8), 2 two-digit (27, 64) and 5 three-digit cubes (125 … 729).
- 4
A cube can’t end in exactly two zeros: zeros at the end of a cube come in threes.
- 5
Fractions, decimals and negatives can be cubed: (4/6)³ = 64/216; (−6)³ = −216.
| n | n³ | n | n³ |
|---|---|---|---|
| 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 |
How many 3-digit perfect cubes are there?
✅ Five: 125, 216, 343, 512, 729.
Taxicab numbers and odd-number patterns for cubes
1729 and odd-number cubes.
- 1
Hardy called taxi number 1729 ‘dull’; Ramanujan replied it is the smallest number that is a sum of two cubes in two different ways: 1729 = 1³ + 12³ = 9³ + 10³ – the Hardy–Ramanujan number.
- 2
Next taxicab numbers: 4104 = 2³ + 16³ = 9³ + 15³ and 13832 = 2³ + 24³ = 18³ + 20³.
- 3
Littlewood said every positive integer was one of Ramanujan’s personal friends.
- 4
Cubes as sums of consecutive odd numbers: 1 = 1³; 3 + 5 = 2³; 7 + 9 + 11 = 3³; 13 + 15 + 17 + 19 = 4³ … The 10 odd numbers 91 + 93 + … + 109 add to 10³ = 1000.
💡 UnderstandRamanujan saw in seconds what took others hours – a reminder that patterns in numbers are everywhere.
Write 4104 as a sum of two cubes.
✅ 2³ + 16³ (or 9³ + 15³).
Cube roots
∛ by prime triplets.
- 1
If y = x³, then x is the cube root of y, written ∛y. ∛8 = 2, ∛1000 = 10, ∛(n³) = n.
- 2
Test: a number is a perfect cube if its prime factors can be split into three identical groups (or grouped in triplets).
- 3
In a cube, each prime factor of the original number appears three times: 12 = 2 × 2 × 3, so 12³ = 1728 = 2³ × 2³ × 3³.
- 4
500 = 2 × 2 × 5 × 5 × 5 – the 2s don’t make a triplet, so 500 is not a cube.
- 5
Successive differences of squares become constant at level 2; for cubes they become constant at level 3 (all 6s).
Is 3375 a perfect cube?
- 3375 = 3 × 3 × 3 × 5 × 5 × 5 = (3 × 5) × (3 × 5) × (3 × 5).
Answer: Yes: 3375 = 15³, so ∛3375 = 15.
∛27000 = ?
✅ 30.
A pinch of history
Varga, ghana, mula.
- 1
The Babylonians listed squares and cubes on clay tablets around 1700 BCE for land measurement and building.
- 2
Sanskrit varga meant both a square figure and the square power; ghana the solid cube and the cube power; varga-varga the fourth power – used in India from at least the 3rd century BCE.
- 3
Aryabhata (499 CE) described varga as a four-sided equal figure and its area, and also the product of two equal quantities.
- 4
Mula (root of a plant) gave varga-mula (square root) and ghana-mula (cube root); Arabic jidhr and Latin radix copied the idea. Brahmagupta (628 CE) used pada for root.
What does ‘ghana-mula’ mean?
✅ Cube root.
🔤 Key words
Each science word with its meaning and its Hindi name. Cover the meaning and try to say it first.
- Square numberवर्ग संख्या
A number multiplied by itself, n × n = n².
- Perfect squareपूर्ण वर्ग
Square of a natural number: 1, 4, 9, 16…
- Square rootवर्गमूल
x is the square root of y if x² = y.
- Cube numberघन संख्या
A number multiplied by itself three times, n³.
- Cube rootघनमूल
x is the cube root of y if x³ = y.
- Prime factorisationअभाज्य गुणनखंडन
Writing a number as a product of primes.
- Factorगुणनखंड
A number that divides another exactly.
- Odd numberविषम संख्या
Not divisible by 2; the nth is 2n − 1.
- Triangular numberत्रिकोणीय संख्या
1, 3, 6, 10, 15… (dots in a triangle).
- Taxicab numberटैक्सीकैब संख्या
Sum of two cubes in two different ways.
🛂 One-look revision
One card per idea. Read the key point, then try to recall the whole topic.
- Squaren × n = n²7² = 49
- Odd factorsOnly squares have them36: 1,2,3,4,6,9,12,18,36
- Units digitSquares end 0,1,4,5,6,9…7 is never a square
- ZerosEven number at the end700² = 490000
- Odd numbers1 + 3 + … (n terms) = n²36² = 35² + 71
- Between squares2n numbers between n², (n+1)²32 between 16², 17²
- Square testPrime factors in pairs√324 = 18
- Cuben³15³ = 3375
- Cube testPrime factors in triplets500 is not a cube
- Taxicab1729 = 1³ + 12³ = 9³ + 10³Ramanujan
- Historyvarga, ghana, mulaAryabhata
❔ Questions and answers
Tap a question to see the answer. Try answering in your head first.