Emzini weCodeUmhlahlandlelaMathematics 3.2 · Factors, Primes and Remainders NoticesAll books

Chapter 3/3.2Foundationabout 4 min

Divisibility tests

Try this first

Without dividing, decide which of these numbers are in the 9 times table: 234, 516, 7,281. Add the digits of each number. What do you notice?

A number is divisible by 9 if 9 is one of its factors. You can often tell whether a number is divisible by a small number just by looking at its digits.

A number is divisible by if Example
2 its last digit is even (0, 2, 4, 6 or 8) 5,74
3 the sum of its digits is divisible by 3 4,281: 4 + 2 + 8 + 1 = 15
4 its last two digits make a number divisible by 4 9,316
5 its last digit is 0 or 5 2,345
6 it is divisible by both 2 and 3 714
9 the sum of its digits is divisible by 9 7,281: 7 + 2 + 8 + 1 = 18
10 its last digit is 0 8,650

Why does the test for 9 work? A mathematician is never satisfied with a rule until she knows why it is true. Take the number 348 and write out what its digits mean.

348 = 3 × 100 + 4 × 10 + 8

Now split each 100 into 99 + 1 and each 10 into 9 + 1.

348 = 3 × 99 + 3 + 4 × 9 + 4 + 8 = (3 × 99 + 4 × 9) + (3 + 4 + 8)

The first bracket is certainly divisible by 9, because 99 and 9 both are. So the whole number is divisible by 9 exactly when the second bracket, the sum of the digits, is divisible by 9. Here 3 + 4 + 8 = 15, which is not divisible by 9, so 348 is not. The same argument works for a number of any length, and because 99 and 9 are also divisible by 3, it proves the test for 3 at the same time.

Why does the test for 4 work? Every number is some hundreds plus its last two digits: 9,316 = 93 × 100 + 16. Since 100 = 4 × 25, the hundreds are always divisible by 4. Only the last two digits can make a difference.

Worked example 3.2

Is 7,236 divisible by 3, by 4 and by 9?

Digit sum:
7 + 2 + 3 + 6 = 18
Since 18 is divisible by 3 and by 9, so is 7,236.
Last two digits: 36 = 4 × 9, so 7,236 is divisible by 4.
Check: 7,236 ÷ 9 = 804 and 7,236 ÷ 4 = 1,809.

Now try one yourself

Common mistake

Thinking that a number divisible by 4 and by 6 must be divisible by 24. Try 12: it is divisible by 4 and by 6, but not by 24. Combining two tests is only safe when the two numbers share no factor except 1, as 2 and 3 do in the test for 6.

Check your understanding 3.2

  1. Which of 2, 3, 4, 5, 9 and 10 are factors of 5,040?
    Show answerHide answer
    All of them. It ends in 0, so 2, 5 and 10 are factors. Its last two digits are 40, so 4 is a factor. Its digit sum is 9, so 3 and 9 are factors.
  2. Is 123,456 divisible by 3? Is it divisible by 9?
    Show answerHide answer
    Digit sum = 21. It is divisible by 3 but not by 9.
  3. Find the missing digit so that 52□ is divisible by both 2 and 9.
    Show answerHide answer
    The digit must be even, and 5 + 2 + □ must be divisible by 9, so the digit sum must be 9. The digit is 2, giving 522.
  4. Explain in one sentence why the test for 5 works.
    Show answerHide answer
    Every number is some tens plus its last digit, and every ten is divisible by 5, so only the last digit matters. The last digit is divisible by 5 only if it is 0 or 5.