Class 8 CT: Number Play – Notes | CBSE CT & AI 2026-27
Part 1 · Computational Thinking · Chapter 5
Number Play 🔢
Your bus ticket number, your friend's phone number, the total on a shop receipt — numbers are hiding little secrets everywhere, and once you know the rules, you can spot them without picking up a calculator. This chapter is a toolbox of number tricks: quick divisibility checks, digit puzzles, magic squares that always add up the same way, and a few "special" numbers with personalities of their own.
Divisibility rules — the shortcuts
Before you divide anything, ask yourself: do I even need to? A school canteen splitting ₹405 equally among 9 students doesn't need long division to know it works out evenly — the digits 4, 0 and 5 add up to 9, and that's all the proof you need.
That's the whole idea behind divisibility rules: a quick digit check that tells you yes or no in seconds.
A few worth remembering by heart because they come up constantly in
exams and in real life (splitting bills, checking bus fares, arranging
students in equal rows):

- By 2: last digit is even (0, 2, 4, 6, 8).
- By 3 or 9: add up all the digits — if that sum is divisible by 3 (or 9), so is the original number. You can even repeat the trick on the sum itself (this repeated sum is called the digital root).
- By 4: only the last two digits matter — check if that 2-digit number divides by 4.
- By 8: same idea, but with the last three digits.
- By 6: the number must pass both the rule for 2 and the rule for 3.
- By 11: add digits in odd positions, add digits in even positions, subtract the two totals — if the result is 0 or a multiple of 11, so is the number.
Reversing digits & number tricks
Take any 2-digit number, say 54. Reverse it to get 45. Subtract the smaller from the larger: 54 − 45 = 9. Try it with 81 and 18: 81 − 18 = 63 = 9 × 7. Try 96 and 69: 96 − 69 = 27 = 9 × 3.
Every single time, the answer is a multiple of 9 — and it's not luck.
If a 2-digit number is 10a + b, its reverse is
10b + a, and the difference is always
9a − 9b = 9(a − b). The 9 is built right into the algebra.
Letters for digits — alphametics
An alphametic is a sum where letters stand in for digits — the fun part is figuring out which digit each letter is hiding. Every occurrence of the same letter must be the same digit throughout the puzzle, and different letters must be different digits.
Since GGG is a 3-digit number made of one repeated digit
(like 111, 222, 333...), and every repdigit is G × 111,
we're really looking for EF × E = G × 111. Testing small
values quickly gets there: 37 × 3 = 111. So
E = 3, F = 7, G = 1.
Secret number games
You've probably seen this trick before: "Think of a number. Double it. Add 10. Halve it. Subtract your original number." No matter what number you started with, the answer is always 5. It feels like mind-reading, but it's just algebra wearing a disguise.
Let the starting number be x. Double it: 2x.
Add 10: 2x + 10. Halve it: x + 5. Subtract the
original number: (x + 5) − x = 5. The x
cancels out completely — that's the "secret."
Magic squares
A magic square arranges numbers in a grid so that every row, every column, and both diagonals add up to the exact same total — the "magic sum."
For a square that uses the numbers 1 to n², there's a formula for the
magic sum: M = n(n² + 1) / 2. For our 3×3 square,
that's 3 × 10 / 2 = 15 — matching every line in the grid
above. The center cell of any 3×3 magic square is always
M ÷ 3, which is why 5 sits right in the middle.
Numbers with personality
Some numbers earn special names because of a pattern hidden in their digits.
Palindromic numbers read the same forwards and
backwards — like a vehicle number plate such as 3773, or the year 2002.
Armstrong numbers are rarer: raise each digit to the
power equal to the number of digits, and the digits add back up to the
original number. 153 is the classic example
(1³ + 5³ + 3³ = 1 + 125 + 27 = 153); 371 works too
(3³ + 7³ + 1³ = 27 + 343 + 1 = 371). Perfect numbers
equal the sum of their own proper divisors — 6 is the smallest
(1 + 2 + 3 = 6), and 28 is the next (1 + 2 + 4 + 7 + 14 = 28).
And then there's the Fibonacci pattern: start with 1 and 1, and every next number is the sum of the two before it — 1, 1, 2, 3, 5, 8, 13, 21... This exact growth pattern shows up in sunflower seed spirals, pinecones, and the branching of trees.
✅ Quick recap
- Divisibility rules let you check 2, 3, 4, 5, 6, 8, 9, 10 and 11 without dividing.
- The gap between any number and its digit-reversal is always a multiple of 9.
- Alphametics: same letter = same digit, every time, throughout the puzzle.
- "Think of a number" tricks are algebra in disguise — the variable always cancels out.
- A magic square's rows, columns and both diagonals all share one magic sum,
M = n(n²+1)/2. - Palindromes read the same both ways; Armstrong numbers equal the sum of their digits' powers; perfect numbers equal the sum of their own divisors.
- The Fibonacci pattern: each term is the sum of the previous two.
📖 Textbook question guide & answers
Q1. Without dividing, check whether these numbers are divisible by 9: (i) 123 (ii) 405
Answer: (i) 1+2+3 = 6, not divisible by 9 → No. (ii) 4+0+5 = 9, divisible by 9 → Yes.
Q2. The sum of four consecutive whole numbers is 34. What are the numbers?
Answer: Let the numbers be x, x+1, x+2, x+3. Then 4x + 6 = 34, so x = 7. The numbers are 7, 8, 9, 10.
Q3. For whole numbers a, b, g, h — which expression is always even: 2a + 2b, or 3g + 5h?
Answer: 2a + 2b = 2(a+b) is always even. 3g + 5h is not guaranteed — e.g. g=1, h=2 gives 13, which is odd.
Q4. If 31z5 is exactly divisible by 9, where z is a single digit, find the possible value(s) of z.
Answer: Digit sum = 3+1+z+5 = 9+z. This must be a multiple of 9, so z = 0 (sum 9) or z = 9 (sum 18). z = 0 or 9.
Q5. Solve the alphametic: EF × E = GGG, where E, F and G are distinct digits.
Answer: 37 × 3 = 111, so E = 3, F = 7, G = 1.
Q6. A number leaves remainder 2 when divided by 3, and also leaves remainder 2 when divided by 4. Write a general expression for such numbers and list the first three.
Answer: Since LCM(3, 4) = 12, the expression is 12k + 2 for whole number k. First three: 2, 14, 26.
Q7. If a multiple of 9 has its digits reversed, is the result still a multiple of 9? Explain.
Answer: Yes. Divisibility by 9 depends only on the sum of the digits, and reversing the digit order doesn't change that sum. Example: 234 (sum 9) reversed is 432 (sum 9) — both divisible by 9.
Q8. Is the product of any two consecutive integers always divisible by 2? Is it always divisible by 6?
Answer: Always divisible by 2 — one of any two consecutive integers must be even. Not always divisible by 6: 4 × 5 = 20, which is not a multiple of 6.
Q9. A 3×3 magic square uses each of 1–9 exactly once. The centre is 5, the top-left cell is 4, and the top-right cell is 2. Find the remaining six numbers.
Answer: Top row: 4 + ? + 2 = 15, so the top-middle is 9. The rest of the square fills in as middle row 3, 5, 7 and bottom row 8, 1, 6 — matching the classic Lo Shu square. Every row, column and diagonal checks out to 15.
Q10. Check whether 371 is an Armstrong number.
Answer: 3³ + 7³ + 1³ = 27 + 343 + 1 = 371. Since this equals the original number, yes, 371 is an Armstrong number.
Q11. Is 91419 a palindrome? Is 91429?
Answer: 91419 reversed is 91419 — yes, it's a palindrome. 91429 reversed is 92419, which is different — not a palindrome.
Q12. A sequence starts 2, 3, and each next term is the sum of the previous two. Write the first eight terms. What is this pattern called?
Answer: 2, 3, 5, 8, 13, 21, 34, 55. This follows the same rule as the Fibonacci pattern (each term = sum of the previous two), just starting from a different pair of seed numbers.
📝 Practice Exercises
Try these questions on your own first, then use the toggle below to check your answers.
A. Multiple Choice Questions
- Which number is divisible by both 2 and 3?
a) 14 b) 15 c) 18 d) 25 - A number is divisible by 9 if:
a) Its last digit is 9 b) The sum of its digits is divisible by 9 c) It ends in 0 d) It is an odd number - Which of these is a common multiple of 4 and 6?
a) 8 b) 10 c) 12 d) 16 - The largest number that divides two given numbers exactly is called their:
a) LCM b) HCF c) Product d) Sum - Which number is divisible by 11?
a) 121 b) 122 c) 123 d) 124 - A number ending in 0 is always divisible by:
a) 3 only b) 2, 5 and 10 c) 9 only d) 7 - Which of these is a prime number?
a) 21 b) 27 c) 29 d) 33 - If a number is divisible by both 4 and 9, it must also be divisible by:
a) 13 b) 36 c) 40 d) 90
B. Short Answer Questions
- State the divisibility rule for 3, and use it to check whether 4572 is divisible by 3.
- Find the HCF and LCM of 18 and 24, showing your method using prime factorisation.
C. Logic Puzzle
- I am a 2-digit number. I am divisible by both 4 and 6, and my digits add up to 9. What number am I?
▶️ Show Answer Key
>

Comments
Post a Comment