Number Play

Chapter 5 · Mathematics · Class 8 30 min read

Why This Matters

Numbers are not just things you count with. They have secret habits.

Some numbers can be broken into a neat ladder of consecutive numbers, like 15 = 4 + 5 + 6. Some numbers refuse to be broken that way, no matter how hard you try. Some numbers can be checked for “is it divisible by 9?” in a few seconds, just by adding their digits — without doing any division at all.

These look like magic tricks. But they are not magic. Every one of them has a clear reason behind it. Once you see the reason, the trick becomes obvious, and you can never forget it.

This chapter is about playing with numbers and asking “why?” about everything you notice. Why can every odd number be split into two consecutive numbers? Why does adding the digits tell you about division by 9? Why do some patterns always hold?

By the end, you will not just know a few shortcuts. You will understand why they work. And understanding why is the real power of mathematics — it lets you predict patterns you have never even seen before, instead of memorising hundreds of separate rules.

The Big Idea

Numbers are built from simple parts, and those parts follow simple rules. An even number always has a 2 hidden inside it. A multiple of 9 always has a “9 + 1” hidden in every place value. Once you write a number using its hidden parts — using a bit of algebra or a picture of dots — every pattern explains itself. Instead of memorising what happens, you can prove what must happen, for every number at once, without checking them one by one.

Let’s Break It Down

We will explore four big ideas. First, which numbers are sums of consecutive numbers, and why. Then parity (whether a number is odd or even) and how it behaves. Then quick divisibility tests for 9, 3 and 11, and the reasons they work. Finally, patterns in factors, multiples and digital roots.

Before we start, let us quickly refresh a few words we will use again and again.

Sums of consecutive numbers

Anshu noticed something fun. Many numbers can be written as a sum of consecutive numbers:

7 = 3 + 4, 12 = 3 + 4 + 5, 15 = 7 + 8 = 4 + 5 + 6 = 1 + 2 + 3 + 4 + 5.

Some numbers can even be split in more than one way, like 15 above. Let us see this with dots, because a picture makes the idea click.

The diagram below shows 15 split three different ways. Each time, the same 15 dots are just regrouped.

Three dot arrangements showing 15 as 7 plus 8, as 4 plus 5 plus 6, and as a staircase 1 plus 2 plus 3 plus 4 plus 5.
Figure 5.1 — Figure 5.1 shows the number 15 written as a sum of consecutive numbers in three ways. The top row splits 15 into a group of 7 blue dots and a group of 8 green dots, giving 7 + 8. The middle row splits it into groups of 4, 5 and 6 dots, giving 4 + 5 + 6. The bottom row builds a staircase: rows of 1, 2, 3, 4 and 5 dots, giving 1 + 2 + 3 + 4 + 5. In every case the dots add up to the same 15. The yellow box reminds us that a run of consecutive numbers is simply a stack of growing rows, so regrouping never changes the total.

Now for the big question: can every number be written this way? And which numbers can be split in many ways?

Start with the easiest pattern. Every odd number is the sum of two consecutive numbers. For example, 13 = 6 + 7, and 25 = 12 + 13. Why is this always true?

Here is the reason, shown with dots. The picture below splits 13 into two near-equal rows.

13 dots first in one row, then split into a top row of 6 and a bottom row of 7, differing by one extra dot.
Figure 5.2 — Figure 5.2 explains why every odd number is the sum of two consecutive numbers, using 13 as the example. The top shows 13 dots in a single row. Below, the dots are split into two rows: a blue top row of 6 and a green bottom row of 7. Because 13 is odd, the two rows cannot be exactly equal — one row must hold one extra dot, marked in red. So the two rows differ by exactly 1, which means they are consecutive numbers: 6 and 7. The purple box states the general reason: an odd number is one more than an even number, so splitting the even part equally and giving the leftover dot to one row always produces two consecutive numbers.

Let us make that reasoning exact with a tiny bit of algebra.

Worked example

Show, using algebra, that every odd number can be written as the sum of two consecutive numbers.

What about other numbers? It turns out almost every number can be written as a sum of consecutive numbers — except the powers of 2: 1, 2, 4, 8, 16, 32, and so on. These are the only numbers that simply refuse. (The deep reason is studied in higher classes, but you can test it yourself: try to split 8 or 16 into consecutive numbers and you will fail every time.)

Concept check

Can the number 9 be written as a sum of consecutive numbers? Find at least one way.

Parity — how odd and even behave

Here is a surprising pattern from the textbook. Take any 4 consecutive numbers, say 3, 4, 5, 6. Put + or signs between them in every possible way:

3 + 4 + 5 + 6 = 18, 3 + 4 − 5 + 6 = 8, 3 − 4 − 5 − 6 = −12, and so on.

There are 8 such expressions. If you work them all out, you notice something: the answer is always even. Never odd. And this happens no matter which 4 numbers you start with. Why?

The secret is parity. Let us first nail down how odd and even behave when you add or subtract.

odd ± odd = even

even ± even = even

odd ± even = odd

Notice the most important fact here: changing a + into a never changes the parity. For example, 7 + 3 = 10 (even) and 7 − 3 = 4 (also even). The parity stays the same.

Here is the clean reason, straight from the textbook. Take an expression like a + b − c − d. Now flip one sign, say change + b to − b, to get a − b − c − d. How much did the value change?

(a + b − c − d) − (a − b − c − d) = 2b

The change is 2b, which is always even. So flipping a sign moves the value by an even amount. And if two numbers differ by an even amount, they must have the same parity. So flipping signs never changes whether the answer is odd or even.

Starting from one expression, you can reach all 8 by flipping signs. So all 8 expressions have the same parity. For 3, 4, 5, 6 the plain sum 3 + 4 + 5 + 6 = 18 is even, so all 8 must be even too.

Let us use this idea to judge an expression without computing it.

Worked example

Without calculating, decide whether 4m + 2q is even for every whole-number value of m and q.

Be careful though — not every expression is always even. Take x² + 2. If x is even, x² is even, so x² + 2 is even. But if x is odd, x² is odd, so x² + 2 is odd. For example, x = 3 gives 9 + 2 = 11, which is odd. So x² + 2 is only sometimes even.

When do two even numbers add to a multiple of 4?

Take two even numbers and add them. Is the sum always a multiple of 4? Try a few:

2 + 6 = 8 (yes, multiple of 4), but 2 + 4 = 6 (no, not a multiple of 4).

So sometimes yes, sometimes no. When exactly? The trick is to sort even numbers into two types, by their remainder when divided by 4.

Type A — multiples of 4: numbers like 4, 8, 12, 16. They leave remainder 0 when divided by 4. In algebra: 4p.

Type B — even but not multiples of 4: numbers like 2, 6, 10, 14. They leave remainder 2 when divided by 4. In algebra: 4q + 2.

Now there are three cases. Two Type-A numbers, two Type-B numbers, or one of each. Let us picture the trickiest one: two Type-B numbers, like 6 + 10. The diagram below arranges every number in rows of 4 and shows what happens to the leftovers.

6 shown as one row of 4 plus 2 leftover dots, 10 as two rows of 4 plus 2 leftover, and the two leftover pairs joining into one more full row of 4, making 16 in four rows of 4.
Figure 5.3 — Figure 5.3 shows why two even numbers that each leave remainder 2 (when divided by 4) add up to a multiple of 4, using 6 + 10 = 16. On the left, 6 is drawn as one full row of 4 blue dots plus 2 red leftover dots. On the right, 10 is drawn as two full rows of 4 green dots plus 2 red leftover dots. The arrows show the two leftover pairs joining: 2 + 2 = 4, which forms one brand-new full row of 4 (orange). The yellow box adds up the rows: one row plus two rows plus the new row gives four full rows of 4, so the total 16 is a multiple of 4. The key idea is that each remainder of 2 supplies half of a fresh row, and two halves make one whole row.

In algebra this is just as clean: (4p + 2) + (4q + 2) = 4p + 4q + 4 = 4(p + q + 1), which is a multiple of 4. The two 2s combine into a 4.

Here are all three cases together. Notice the pattern is exactly like the parity of odd and even.

What you addAlgebraIs the sum a multiple of 4?
multiple of 4 + multiple of 44p + 4q = 4(p + q)Yes — always
remainder-2 + remainder-2(4p + 2) + (4q + 2) = 4(p + q + 1)Yes — the two 2s make a 4
multiple of 4 + remainder-24p + (4q + 2) = 4(p + q) + 2No — remainder 2 is left over

So two even numbers add to a multiple of 4 exactly when they are both Type A, or both Type B. A mismatch leaves a remainder of 2.

Concept check

Is 14 + 22 a multiple of 4? Decide using the remainder rule, not by adding.

Always, sometimes, or never — divisibility facts

The same kind of reasoning settles many divisibility statements. The big tools are these four facts, all provable with the “factor out” trick:

If a divides M and a divides N, then a divides M + N and M − N.

If A is divisible by k, then every multiple of A is divisible by k.

If A is divisible by k, then A is divisible by every factor of k.

If A is divisible by k and by m, then A is divisible by the LCM of k and m.

The first one is easy to see. If 8 divides two numbers, say 8a and 8b, then their sum is 8a + 8b = 8(a + b), which is still a multiple of 8. The shared factor of 8 never disappears when you add.

Let us use these to judge a statement.

Worked example

Always, sometimes, or never true: 'When you add an odd number to an even number you get a multiple of 6.'

A quick test for divisibility by 9 (and why it works)

Here is a famous shortcut: a number is divisible by 9 if the sum of its digits is divisible by 9. For example, 5 + 4 = 9 tells you 54 is divisible by 9. No division needed.

But why does just adding digits work? This is the heart of the chapter. The reason is beautiful, and the picture below shows it using 427.

Each place value written as a multiple of 9 plus 1: 100 equals 99 plus 1, 10 equals 9 plus 1, 1 equals 0 plus 1. So 427 equals a multiple of 9 plus 4 plus 2 plus 7.
Figure 5.4 — Figure 5.4 explains why the digit-sum test for 9 works, using the number 427. The top three rows show that every place value is exactly one more than a multiple of 9: 100 = 99 + 1, 10 = 9 + 1, and 1 = 0 + 1. The green boxes hold the multiple-of-9 part and the red boxes hold the leftover 1. Below, 427 is rewritten as 4 × (99 + 1) + 2 × (9 + 1) + 7 × (0 + 1). This splits into a green part that is a multiple of 9, plus a red part that is exactly the digit sum 4 + 2 + 7 = 13. The yellow box concludes that 427 leaves the same remainder as its digit sum 13 does, and since 13 = 9 + 4, the remainder is 4. The multiple-of-9 part never affects the remainder, so only the digit sum matters.

So the rule is really about remainders. Every place value (10, 100, 1000, …) is one more than a multiple of 9. The multiple-of-9 parts contribute nothing to the remainder. What is left over is exactly the digit sum. If the digit sum is a multiple of 9, the whole number is too.

Let us use it.

Worked example

Is 93,547 divisible by 9? Use the digit-sum test.

The test for 3 works exactly the same way, for the same reason: every place value is also one more than a multiple of 3 (10 = 9 + 1, 100 = 99 + 1, and 9 and 99 are multiples of 3 too). So a number is divisible by 3 if the sum of its digits is divisible by 3.

A quick test for divisibility by 11 (and why it works)

The test for 11 has a twist: you alternately add and subtract the digits. Why the alternating signs? Because the place values do not all behave the same way — they flip between one more and one less than a multiple of 11. The picture below shows this.

Place values for 11: 1 is one more than a multiple of 11, 10 is one less, 100 is one more, 1000 is one less, so digits are alternately added and subtracted.
Figure 5.5 — Figure 5.5 explains why the divisibility test for 11 alternates plus and minus, and works through 462. The table shows each place value compared with a multiple of 11: 1 = 0 + 1 (one MORE, so add), 10 = 11 − 1 (one LESS, so subtract), 100 = 99 + 1 (one MORE, so add), 1000 = 1001 − 1 (one LESS, so subtract). The pattern of add, subtract, add, subtract continues for higher places. The worked line checks 462 by starting at the units digit and alternating signs: 2 − 6 + 4 = 0. The yellow box concludes that because the result 0 is a multiple of 11, the number 462 is divisible by 11 (462 = 11 × 42). In general, if the alternating sum is 0 or any multiple of 11, the whole number is divisible by 11.

So the rule is: start at the units digit, alternately add and subtract the digits, and if the result is 0 or a multiple of 11, the number is divisible by 11. Let us try it.

Worked example

Is 5,529 divisible by 11? If not, what is the remainder?

Factors, multiples and digital roots

Many number patterns come from how factors nest inside one another. A clear example: the multiples of 4, 8 and 32. Every multiple of 32 is also a multiple of 8, and every multiple of 8 is also a multiple of 4. The picture below shows this as circles inside circles.

Three nested circles: the smallest holds multiples of 32, inside the multiples of 8, inside the largest circle of multiples of 4.
Figure 5.6 — Figure 5.6 shows the relationship between multiples of 4, 8 and 32 as three nested circles. The largest blue circle holds all multiples of 4 (4, 12, 20, 28, ...). Fully inside it sits the green circle of multiples of 8 (8, 24, 40, 56, ...). Fully inside that sits the purple circle of multiples of 32 (32, 64, 96, 128, ...). Each circle lies completely within the next because 8 = 4 × 2 and 32 = 8 × 4, so every multiple of 32 is automatically a multiple of 8, and every multiple of 8 is automatically a multiple of 4. There is no overlap sticking out — the smaller sets are entirely contained in the larger ones.

This is just the third tool from before: if a number is divisible by 32, it is divisible by every factor of 32, including 8 and 4.

Now a fun pattern called the digital root. Take a number, add its digits, then keep adding the digits of the result until a single digit is left. That single digit is the digital root.

For example, for 489710: 4 + 8 + 9 + 7 + 1 + 0 = 29, then 2 + 9 = 11, then 1 + 1 = 2. So the digital root of 489710 is 2.

This is the very same process as the divisibility test for 9. So the digital root tells you the remainder when the number is divided by 9. (If the digital root is 9, the number is an exact multiple of 9.)

Concept check

What is the digital root of 7,309, and what does it tell you about dividing 7,309 by 9?

Common Mistakes

These are the slip-ups students make most often in this chapter. Spot them now to keep your reasoning clean.

⚠️ Common mistake
What students think

The digit-sum test for 9 is just a memorised trick with no real reason; you simply add digits because the teacher said so.

Why it seems right

The rule is taught as a quick shortcut to pass exams, and it works so reliably that students never feel the need to ask where it comes from.

What actually happens

It has a clear reason. Every place value (10, 100, 1000, ...) is one more than a multiple of 9. The multiple-of-9 parts leave no remainder, so the leftover is exactly the digit sum. That is why the digit sum decides divisibility by 9.

⚠️ Common mistake
What students think

To check divisibility by 24, just check divisibility by its factors 4 and 6, since 4 × 6 = 24.

Why it seems right

It feels natural that if a number passes both factor tests it must be divisible by their product, and 4 times 6 does equal 24, so the logic looks airtight.

What actually happens

It fails because 4 and 6 share the factor 2, so they overlap. The number 12 is divisible by both 4 and 6 but not by 24. To test for 24 correctly, check divisibility by 3 and 8, whose only common factor is 1.

⚠️ Common mistake
What students think

Changing a plus sign to a minus sign in an expression can change whether the answer is odd or even.

Why it seems right

A plus and a minus look like opposite operations, and they certainly change the value, so it seems they should change the parity too.

What actually happens

Flipping a sign changes the value by an even amount (by 2 times one of the numbers). Two values that differ by an even amount have the same parity. So a + b and a − b are always both odd or both even — the parity never changes.

Quick Check

Try these quick questions. The explanation appears after you answer, so read it either way.

Which of these numbers CANNOT be written as a sum of two or more consecutive numbers?

Without dividing, decide: is 405 divisible by 9?

Use the alternating-sum test: is 5,929 divisible by 11?

Two even numbers are added. When is the sum guaranteed to be a multiple of 4?

Practice Problems

Try each one yourself first. Then tap to check your full solution.

Easy

easy

Write 21 as a sum of two consecutive numbers, and also as a sum of consecutive numbers in one other way.

easy

Without dividing, find whether 8,888 is divisible by 9.

easy

The sum of four consecutive numbers is 34. What are these numbers?

Medium

medium

If 31z5 is a multiple of 9, where z is a single digit, find all possible values of z. Why are there two answers?

medium

Tathagat writes numbers that each leave remainder 2 when divided by 6. He claims that adding any three such numbers always gives a multiple of 6. Is he right?

medium

When divided by 7, the number 661 leaves remainder 3 and 4779 leaves remainder 5. Without calculating the numbers, find the remainder when 4779 + 661 is divided by 7.

Challenge

challenge

A child has fewer than 100 pebbles. Grouped in 3s, one is left over. Grouped in 2s, one is left over. Grouped in 5s, one is left over. Grouped in 7s, none is left over. How many pebbles?

challenge

Is the product of three consecutive integers always a multiple of 6? Explain why.

Summary

  • A run of consecutive numbers is a stack of growing rows. Every odd number is the sum of two consecutive numbers (2n + 1 = n + (n + 1)). Every number except a power of 2 (1, 2, 4, 8, 16, …) can be written as a sum of consecutive numbers.
  • Parity (odd/even) follows simple rules: odd ± odd = even, even ± even = even, odd ± even = odd. Flipping a + to a − changes the value by an even amount, so it never changes the parity.
  • An expression is always even if you can factor out a 2, like 4m + 2q = 2(2m + q).
  • Two even numbers add to a multiple of 4 exactly when both are multiples of 4, or both leave remainder 2. A mismatch leaves remainder 2.
  • A number is divisible by 9 (or 3) if its digit sum is, because every place value is one more than a multiple of 9 (and of 3).
  • A number is divisible by 11 if the alternating sum of its digits is 0 or a multiple of 11, because place values flip between one more and one less than a multiple of 11.
  • If a number is divisible by k, it is divisible by every factor of k; every multiple of it keeps the same divisors; and if divisible by k and m, it is divisible by their LCM.
  • A digital root (repeatedly adding digits to one digit) equals the remainder on dividing by 9.

What’s Next

You have just seen the real power of mathematics: not memorising rules, but proving why they must be true — with a picture of dots or a line of algebra.

Next, in Chapter 6 — We Distribute, Yet Things Multiply, you will meet the distributive law and see how breaking numbers apart and putting them back together unlocks fast multiplication and powerful algebra. The “factor it out” trick you used all through this chapter is exactly the idea that comes next. Onward!

Go to Chapter 6 — We Distribute, Yet Things Multiply →

Frequently Asked Questions

Which numbers can be written as a sum of consecutive numbers and which cannot?

Every counting number except the powers of 2 (1, 2, 4, 8, 16, 32 and so on) can be written as a sum of two or more consecutive numbers. Every odd number is the sum of two consecutive numbers, and most other numbers can be split in one or more ways. Powers of 2 are the only ones that cannot be split this way.

Why does the digit-sum test for divisibility by 9 work?

Every place value is one more than a multiple of 9. For example 10 is 9 plus 1, 100 is 99 plus 1, 1000 is 999 plus 1. The multiple-of-9 parts never change the remainder, so the remainder of the whole number equals the remainder of the sum of its digits. If the digit sum is divisible by 9, the number is divisible by 9.

How do you check divisibility by 11 quickly?

Place values alternate between one more and one less than a multiple of 11. So starting from the units digit, alternately add and subtract the digits. If the final result is 0 or a multiple of 11, the number is divisible by 11. For example for 462 you compute 2 minus 6 plus 4, which equals 0, so 462 is divisible by 11.

When do two even numbers add up to a multiple of 4?

Split each even number by its remainder when divided by 4. Two multiples of 4 always add to a multiple of 4. Two numbers that each leave remainder 2 also add to a multiple of 4, because the two remainders of 2 join to make one more 4. But a multiple of 4 plus a remainder-2 number leaves remainder 2, so it is not a multiple of 4.

What is a digital root and how is it found?

A digital root is the single digit you reach by adding all the digits of a number, then adding the digits of that result, and repeating until one digit is left. For example, the digital root of 489710 is 2. The digital root of a number is the same as the remainder when the number is divided by 9, except that a digital root of 9 means the number is an exact multiple of 9.