Number Play

From spotting a divisibility shortcut in two seconds to cracking a digit-disguised puzzle, this chapter turns everyday numbers into a detective's toolkit.

Parity: The Secret Life of Even and Odd Numbers

Quick answer Every whole number is either even or odd, and knowing which lets you predict the outcome of a sum or product without doing the full calculation.

Take any whole number and ask one simple question: can it be split into pairs with nothing left over? If the answer is yes, the number is even — like 24, which splits into 12 neat pairs. If one item is always left over, the number is odd — like 25, which gives 12 pairs and one lonely leftover. This even-or-odd property is called a number's parity, and it is a surprisingly powerful shortcut for predicting an answer before you've even finished calculating.

Addition has a clean parity pattern. Add two even numbers and you always get an even number — two complete sets of pairs simply combine into a bigger set of pairs. Add two odd numbers and the two leftover items pair up with each other, so the sum is even again: 7 + 9 = 16. But add an even number and an odd number, and that one leftover item has nobody to pair with, so the sum is odd: 12 + 7 = 19.

Multiplication follows its own pattern, and it's easy to get wrong if you guess instead of reasoning it through. Even × even is even (4 × 6 = 24). Odd × odd is odd, because no factor of 2 ever enters the product (3 × 5 = 15). But even × odd is even, and odd × even is even too (4 × 3 = 12, and 3 × 4 = 12) — because the single even factor already guarantees the product can be split into pairs, whatever it's multiplied by. In short: a product is odd only when every number being multiplied is odd. If even one factor is even, the whole product is even.

This reasoning extends to algebraic expressions too. An expression like 2n + 1 is always odd, whatever whole number n you substitute, because 2n is always even (it carries a guaranteed factor of 2) and adding 1 to an even number always breaks exactly one pair. Expressions like 2n or 100p are always even for the same reason — they are built from a factor of 2.

even × even = even, odd × odd = odd, even × odd = even Parity rules for multiplication.
Remember
  • Adding two numbers of the same parity (both even or both odd) always gives an even sum; mixing an even and an odd number always gives an odd sum.
  • A product is odd only when every factor being multiplied is odd — a single even factor makes the whole product even.
  • An expression like 2n + 1 is always odd and 2n is always even, for any whole number n, because of the guaranteed factor of 2.

A Divisibility-Rules Toolkit: Checking Without Dividing

Quick answer Short, reliable checks let you tell whether a number is divisible by 2, 3, 4, 5, 6, 8, 9, 10 or 11 just by glancing at its digits.

Long division always works, but it's slow when all you want to know is whether a number divides evenly. For 2, only the last digit matters: if it's 0, 2, 4, 6 or 8, the number is even. For 5, only the last digit matters again: it must be 0 or 5. For 10, the last digit must be 0 — which makes sense, since 10 = 2 × 5, so the number needs both of those rules satisfied at once.

Some rules look at the last two or three digits instead of just one. A number is divisible by 4 exactly when its last two digits, read as their own two-digit number, are divisible by 4 — for 61,600, the last two digits are "00", which is divisible by 4, so the whole number is too. A number is divisible by 8 exactly when its last three digits are divisible by 8 — for 83,160, the last three digits "160" give 160 ÷ 8 = 20 exactly, so 83,160 is divisible by 8.

Other rules look at the digit sum. Add up every digit of a number: if that sum is divisible by 3, so is the original number. For 4,536, checking the last-three-digits rule for 8 is more useful: "536" gives 536 ÷ 8 = 67 exactly, so 4,536 is divisible by 8. For 9, the rule is the same idea but stricter — the digit sum itself must be divisible by 9. Take 7,938: its digits add to 7 + 9 + 3 + 8 = 27, and 27 is divisible by 9, so 7,938 is divisible by 9 (indeed, 7,938 ÷ 9 = 882 exactly). Since 6 = 2 × 3, a number is divisible by 6 only when it passes the rule for 2 and the rule for 3 at once — 9,042 is even, and its digits add to 15 (divisible by 3), so it passes both and is divisible by 6.

The rule for 11 is the most surprising one: starting from the rightmost digit, alternately add and subtract the digits. If the result is divisible by 11 (including 0), so is the number. For 2,728, working right to left gives 8 − 2 + 7 − 2 = 11, which is divisible by 11 — and indeed 2,728 ÷ 11 = 248 exactly. Try the same check on 1,234: 4 − 3 + 2 − 1 = 2, which is not divisible by 11, so 1,234 is not either.

Divisible by 2 Last digit is 0, 2, 4, 6 or 8.
Divisible by 3 Digit sum is divisible by 3.
Divisible by 4 Last two digits form a number divisible by 4.
Divisible by 5 Last digit is 0 or 5.
Divisible by 9 Digit sum is divisible by 9.
Divisible by 11 (sum of digits in odd positions) − (sum of digits in even positions) is divisible by 11.
Remember
  • Divisibility by 2, 5 and 10 depends only on the last digit; by 4 on the last two digits; by 8 on the last three digits.
  • Divisibility by 3 and 9 depends on the digit sum — by 3 if the digit sum divides by 3, and by 9 if the digit sum divides by 9 (a stricter version of the same idea).
  • Divisibility by 6 needs both the rule for 2 and the rule for 3 to hold at once; divisibility by 11 uses an alternating add-subtract pattern across the digits.

Magic Squares: An Ancient Number Puzzle

Quick answer A magic square arranges numbers so every row, column and diagonal adds to the same total, and reasoning about that total uncovers hidden rules before you fill in a single cell.

A magic square is a grid of numbers where every row, every column and both diagonals add up to exactly the same number, called the magic sum. The classic version uses the numbers 1 to 9 in a 3×3 grid. Before guessing where each number should go, you can reason out the magic sum itself: adding every number from 1 to 9 gives 1+2+3+4+5+6+7+8+9 = 45, and since the 3 rows share this total equally, each row — and so the magic sum — must be 45 ÷ 3 = 15.

A similar trick reveals which number must sit at the very centre. The centre cell belongs to four different lines — its row, its column and both diagonals — and all four of those lines add up to 15, giving a combined total of 4 × 15 = 60. In that combined total, the centre number gets counted four times, while each of the other eight numbers gets counted exactly once (each one pairs with its "opposite" number through the centre). So 4 × (centre) + (sum of the other eight numbers) = 60. Since all nine numbers 1 to 9 add to 45, the other eight numbers add to 45 − (centre). Substituting: 4 × (centre) + 45 − (centre) = 60, which simplifies to 3 × (centre) = 15, so the centre must be 5 — always, however the rest of the square is arranged.

Magic squares have a long history in India. The oldest known 4×4 magic square in the world is carved into a 10th-century inscription at a Jain temple in Khajuraho — it is called the Chautisa Yantra ("Chautisa" means 34), because every row, column and diagonal in it adds up to 34. That number checks out with the same reasoning used above: the numbers 1 to 16 add up to 136, and sharing that across 4 rows gives 136 ÷ 4 = 34. Magic squares carved into temple pillars have also been found in Tamil Nadu, and designs like the Navagraha Yantra and Kubera Yantra are still used decoratively in Indian homes and shops today.

Once you have one working magic square, you can transform it into new ones. Adding the same number to every cell keeps it magic (just with a new magic sum), and doubling every cell also keeps it magic — because changing every number in a row by the same operation changes every row's sum by the same amount, so if all the rows were equal before, they stay equal afterwards.

Remember
  • In a 3×3 magic square using 1-9, the magic sum must be 15, because the digits 1-9 add to 45, shared equally across 3 rows.
  • The centre of a 1-9 magic square must always be 5 — a direct consequence of the centre being counted four times across its row, column and two diagonals.
  • India's oldest recorded 4×4 magic square, the Chautisa Yantra at Khajuraho (10th century), has a magic sum of 34, and similar grids are found in temples and homes across India.

The Virahanka Sequence: India's 1,300-Year-Old Rhythm Numbers

Quick answer Centuries before it became world-famous as the Fibonacci sequence, this pattern was discovered by Indian scholars counting the rhythms of Sanskrit and Prakrit poetry.

In the poetry of many Indian languages — Prakrit, Sanskrit, Marathi, Malayalam and more — every syllable is either short (one beat) or long (exactly two beats). Ancient poets and linguists asked a very mathematical question: in how many different ways can you fill a rhythm of a given number of beats using only short (1-beat) and long (2-beat) syllables? For 1 beat, there is only 1 way. For 2 beats, there are 2 ways (two shorts, or one long). For 3 beats, there are 3 ways. For 4 beats, there are 5 ways. The pattern that emerges — 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... — is built by a beautifully simple rule: every number is the sum of the two numbers before it (3 = 1+2, 5 = 2+3, 8 = 3+5, and so on).

This sequence was first explicitly written down around 700 CE by the Prakrit scholar Virahanka, who explained the counting rule in the form of a Prakrit poem. Virahanka built on earlier ideas from the Sanskrit scholar Pingala (around 300 BCE), and the sequence was studied further by Gopala (around 1135 CE) and Hemachandra (around 1150 CE) — all well before it reached Europe. The Italian mathematician Fibonacci wrote about the very same numbers in 1202 CE, roughly five hundred years after Virahanka first described them. Because of this history, the sequence is often called the Virahanka–Fibonacci sequence, crediting its true origin.

The sequence has a striking parity pattern too. Writing the terms as Odd or Even — 1(O), 2(E), 3(O), 5(O), 8(E), 13(O), 21(O), 34(E), 55(O), 89(O), 144(E) — shows a repeating block of Odd, Even, Odd, Odd, Even that settles into every third term (the 2nd, 5th, 8th, 11th, and so on) being even, with the rest odd. This happens because odd + even = odd (continuing the pattern) while odd + odd = even (resetting it) — the same parity rules from earlier in this chapter, now explaining a famous sequence.

The Virahanka–Fibonacci numbers show up constantly outside poetry and mathematics — the number of petals on many flowers (13, 21 or 34, for instance) and the spiral patterns on pinecones and sunflower heads often match numbers from this very sequence, remarkable given that it was first discovered by people counting syllables in verse.

Remember
  • The Virahanka sequence 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... is built by adding the two previous terms; it was first described by Virahanka around 700 CE while studying the rhythms of Sanskrit/Prakrit poetry.
  • It reached Europe through Fibonacci's 1202 CE writings, about 500 years after Virahanka — which is why it is more accurately called the Virahanka-Fibonacci sequence.
  • Its parity follows a repeating pattern that is even only on every third term, a direct consequence of the even/odd addition rules.

Cryptarithms: Becoming a Math Detective

Quick answer In a cryptarithm, digits are hidden behind letters, and working out which digit each letter represents is a satisfying exercise in logical elimination.

A cryptarithm (also called an alphametic) replaces the digits in a sum with letters, where every occurrence of the same letter always stands for the same digit (0-9), and different letters stand for different digits. Your job is to work out which digit each letter represents, using nothing but logical reasoning about how addition works — not guesswork.

Consider the puzzle T + T + T = UT, where T and U are single digits and UT is a two-digit number with U in the tens place and T in the units place. Since T is added to itself three times, the units digit of 3 × T must come out to T itself. Testing digits systematically: if T = 5, then T + T + T = 15, and the units digit of 15 is indeed 5, matching T, with U = 1 in the tens place. No other single digit works this cleanly, so T = 5 and U = 1, giving 5 + 5 + 5 = 15.

A trickier example is K2 + K2 = HMM, where K2 means a two-digit number with units digit 2 and tens digit K, and HMM is a three-digit number whose tens and units digits are both M. Since 2 + 2 = 4, the units digit of the sum must be 4, so M = 4. Now you need K2 + K2 to actually equal a number ending in "44", with a nonzero hundreds digit H. Testing K = 7 gives K2 = 72, so 72 + 72 = 144 — and that result does end in "44", with H = 1. So K = 7, M = 4 and H = 1.

The general strategy for any cryptarithm is the same: start from the units column, since it is affected by the fewest unknowns, use whatever digit you discover there to work out the next column, and keep carrying that information forward — exactly like a detective using one solid clue to unlock the next.

Remember
  • In a cryptarithm, every occurrence of the same letter always represents the same digit, and the puzzle is solved through logical elimination, not guessing.
  • Starting from the units column and working outward (carrying digit facts forward) is the most reliable strategy, since the units column has the fewest unknowns affecting it.
  • K2 + K2 = HMM has the unique solution K = 7, M = 4, H = 1, since 72 + 72 = 144.

The formula sheet

Every formula in this chapter, in one place — screenshot it before your exam.

even × even = even, odd × odd = odd, even × odd = even
Divisible by 2
Divisible by 3
Divisible by 4
Divisible by 5
Divisible by 9
Divisible by 11

Test yourself

Tap an answer to check it instantly — you'll see why it's right, and what to revise if it isn't.

0 correct · 0/12 answered
Q1 divisibility rules easy

Which of these numbers is divisible by both 2 and 3 (and so by 6)?

Q2 parity easy

What is the parity of the sum of two odd numbers?

Q3 parity medium

What is the parity of the sum of three odd numbers, such as 3 + 5 + 7?

Q4 divisibility rules medium

A number has a digit sum of 24. Which of these can you be certain about?

Q5 cryptarithms hard

In the cryptarithm T + T + T = UT (a two-digit number), what digit does T represent?

Q6 parity (algebraic expressions) medium

Which expression always produces an odd number, whatever whole number n is substituted?

Q7 Virahanka sequence hard

The Virahanka (Fibonacci) sequence begins 1, 2, 3, 5, 8, 13, 21, 34, 55, .... What is the next term after 55?

Q8 history of mathematics medium

The sequence 1, 2, 3, 5, 8, 13, ... was first explicitly described around 700 CE by which scholar, while studying the rhythms of Sanskrit and Prakrit poetry?

Q9 magic squares easy

In a 3×3 magic square using the numbers 1 to 9, what is the magic sum (the total of every row, column and diagonal)?

Q10 magic squares medium

In any 3×3 magic square filled with the numbers 1 to 9, which number must always occupy the centre cell?

Q11 divisibility rules hard

Which of these numbers is divisible by 11?

Q12 parity medium

If you add any odd number of odd numbers together (such as 3 odd numbers, or 7 odd numbers), what is the parity of the sum?

NCERT solutions & previous-year questions

Step-by-step model answers — tap a question to reveal the full solution.

NCERT questions 6

1 Using the pairing idea, explain why the sum of any two odd numbers is always even.

Every odd number can be split into pairs with exactly one item left over. When you add two odd numbers, those two leftover items combine to form one brand-new pair, with nothing left unpaired at all. Since the whole sum can now be arranged entirely into pairs, the sum must be even. For example, 9 + 13 = 22: 9 leaves one item unpaired, 13 leaves one item unpaired, and those two leftovers pair up to make 22, which splits evenly into 11 pairs.

2 Check whether 5,394 is divisible by 3 and by 9, using the digit-sum rule. Show your working.

The digit sum of 5,394 is 5 + 3 + 9 + 4 = 21.

Since 21 is divisible by 3 (21 ÷ 3 = 7), the rule tells us 5,394 is divisible by 3 — and indeed, 5,394 ÷ 3 = 1,798 exactly.

But 21 is not divisible by 9 (21 ÷ 9 = 2.33...), so 5,394 is not divisible by 9. Checking directly confirms this: 5,394 ÷ 9 = 599.33..., not a whole number.

3 Why must the centre of a 3×3 magic square filled with the numbers 1 to 9 always be 5? Explain using the four lines that pass through the centre.

The centre cell is part of four lines: its row, its column, and both diagonals. In a magic square, every line adds up to the magic sum, which is 15. So the four lines through the centre add up to 4 × 15 = 60 in total.

In that total of 60, the centre number is counted four times (once in each of its four lines), while each of the other eight numbers (1 to 9 except the centre) is counted exactly once, since each pairs with its "opposite" number straight through the centre. So: 4 × (centre) + (sum of the other 8 numbers) = 60. Since all nine numbers add to 45, the other eight numbers add to 45 − (centre). Substituting: 4 × (centre) + 45 − (centre) = 60, which simplifies to 3 × (centre) = 15, so the centre must be 5.

4 Find the next three terms of the Virahanka sequence after ..., 233, 377, 610, 987.

Each term is the sum of the two terms before it. So:

610 + 987 = 1,597

987 + 1,597 = 2,584

1,597 + 2,584 = 4,181

So the next three terms are 1,597, then 2,584, then 4,181.

5 Solve the cryptarithm K2 + K2 = HMM, where K2 is a two-digit number ending in 2, and HMM is a three-digit number whose tens and units digits are the same. Show your reasoning.

Since the units digits of K2 and K2 are both 2, the units digit of the sum is the units digit of 2 + 2 = 4. So M = 4.

Now we need a value of K so that K2 + K2 ends in "44" as a three-digit number. Writing K2 as 10K + 2, the sum is 2 × (10K + 2) = 20K + 4. Testing K = 7: K2 = 72, and 72 + 72 = 144, which ends in "44" and has a nonzero hundreds digit.

So K = 7, M = 4, and H = 1, giving 72 + 72 = 144.

6 A number is divisible by 11. A student claims it must also be divisible by 2. Is the student correct? Give a numerical example to support your answer.

The student is not correct. Being divisible by 11 says nothing about whether a number is even or odd — these are two completely separate divisibility checks.

For example, 121 is divisible by 11 (121 = 11 × 11), but 121 is an odd number, so it is not divisible by 2. This single example is enough to disprove the student's claim.

Previous-year board questions 4

Q1 Rakesh's number game asks you to find two whole numbers with a given sum and a given difference. Using parity reasoning, explain why the game only has a whole-number solution when the sum and the difference have the same parity, and verify it using sum = 25, difference = 11. 3 marks mark

If a number x and a number y have sum S and difference D, then x = (S + D) ÷ 2 and y = (S − D) ÷ 2. For x and y to be whole numbers, both S + D and S − D must be even — and S + D, S − D are both even exactly when S and D have the same parity (both even, or both odd), because odd + odd = even and even + even = even, while mixing an odd and an even sum/difference gives an odd result that cannot be split evenly by 2.

Checking with sum = 25 and difference = 11 (both odd, so same parity): x = (25 + 11) ÷ 2 = 18, and y = (25 − 11) ÷ 2 = 7. Both are whole numbers, and indeed 18 + 7 = 25 and 18 − 7 = 11.

By contrast, sum = 25 and difference = 10 have different parity (odd and even): x = (25 + 10) ÷ 2 = 17.5, which is not a whole number — confirming that mismatched parity gives no whole-number solution.

Q2 Determine whether 10,857 is divisible by 11, using the alternating digit-sum rule. Show your working. 2 marks mark

Writing the digits of 10,857 from right to left and alternately adding and subtracting: 7 − 5 + 8 − 0 + 1 = 11.

Since 11 is divisible by 11, the rule tells us 10,857 is divisible by 11. Checking directly confirms this: 10,857 ÷ 11 = 987 exactly.

Q3 Without listing all the possible arrangements, explain why a 3×3 grid filled with the numbers 1 to 9 can never have a magic sum of 20. 3 marks mark

In any filling of a 3×3 grid with the numbers 1 to 9 (each used exactly once), the three rows between them use every number exactly once. So the three row-sums must always add up to the fixed total 1+2+...+9 = 45, no matter how the grid is filled.

If the magic sum were 20, the three rows (each summing to 20) would add up to 3 × 20 = 60. But we already know the three row-sums must add up to exactly 45, and 60 ≠ 45. This contradiction shows that a magic sum of 20 is impossible for this grid — the only value consistent with the fixed total of 45 split across 3 equal rows is 45 ÷ 3 = 15.

Q4 Show that the expression 6k + 4 always gives an even number for every whole number k, and find three different values of k for which 6k + 4 is also divisible by 4. 4 marks mark

6k is always even, since it has a factor of 2 (6 = 2 × 3). Adding 4, which is also even, to an even number always gives an even result. So 6k + 4 is even for every whole number k.

To also be divisible by 4, testing values of k shows the pattern depends on whether k is even or odd: k = 0 gives 6(0) + 4 = 4 (divisible by 4); k = 1 gives 6(1) + 4 = 10 (not divisible by 4); k = 2 gives 6(2) + 4 = 16 (divisible by 4); k = 3 gives 6(3) + 4 = 22 (not divisible by 4); k = 4 gives 6(4) + 4 = 28 (divisible by 4).

So three values of k that make 6k + 4 divisible by 4 are k = 0, k = 2 and k = 4 — in general, this happens whenever k itself is even.

Part of Priodemy for School

Interactive CBSE lessons, Class 8–12 — free with every school on Priodemy EduSuite. Explore more chapters and labs on the Priodemy for School hub.

Ask AI