FP2 5.5 - Divisibility tests
Derive and use the decimal divisibility tests for . Choose a suitable test, justify it with congruences, and use digit restrictions without confusing a divisibility test with ordinary equality.
Replace a number by a smaller congruent expression
Why is divisible by , and why would replacing by any other three-digit block still work? You do not need to divide a six-digit number each time. Decimal place value turns the question into a short remainder calculation.
You already know
For a positive modulus , means . Addition, multiplication and positive integer powers preserve congruences. In particular, exactly when . Coprime factors can be cancelled while keeping the modulus fixed.
For example, . Reducing the place-value weights modulo a chosen divisor can make most terms vanish, make all weights , or make them alternate between .
Divisibility test
A divisibility test replaces an integer by a simpler quantity that is divisible by the proposed divisor exactly when the original integer is. If , then
The replacement need not equal the original integer.
The tests below apply to non-negative decimal integers, including zero. For a negative integer, use its positive magnitude: exactly when . Also is divisible by each nonzero divisor, since ; the tests correctly allow this boundary case.
Key idea
Look at the remainder of , or a convenient power of , modulo the divisor. That remainder explains which digits matter.
The decimal tests and their congruence derivations are not in the formula booklet. Each family below states the rule you need to know.
Use the last digit or the last two digits
Write , where is the units digit. Because is divisible by , the whole term disappears modulo each of those divisors. Only remains.
Tests for two, five and ten
A non-negative decimal integer is divisible by
- exactly when its last digit is ;
- exactly when its last digit is or ;
- exactly when its last digit is .
Not in the formula booklet: learn it.
For , one digit is not enough: is not a multiple of . Use , with , since . The two-digit ending may begin with zero; for example, an ending represents .
Test for four
A non-negative decimal integer is divisible by exactly when the integer formed by its last two digits is divisible by :
For an integer with fewer than two digits, use the whole integer as .
Not in the formula booklet: learn it.
Test all four divisors together, keeping the reason for each decision visible.
Worked example 1: four tests from the ending
Question. Determine which of divide , without carrying out four long divisions.
Plan. Use the last digit for , and the last two digits for .
Why this step? Earlier digits contribute multiples of the divisor in each respective test, so they do not affect these decisions.
Answer. All four divisors divide .
Check. , , , , all integers.
Change only the tens digit, from to . The last digit stays zero.
Worked example 2: the last digit cannot decide divisibility by four
Question. Which of divide ?
Plan. Retain the three units-digit decisions, then test the changed two-digit ending.
Why this step? An even ending proves divisibility by , but does not by itself prove divisibility by .
Answer. divide , while does not.
Check. , confirming the failed test.
A short ending is enough because of the power of ten that vanishes, not because the leading digits are unimportant for every possible divisor.
Watch out
Wrong: “The number is even, so it is divisible by .” Right: test its last two digits; is even but leaves remainder modulo .
Change the tens digit again.
Replace every power of ten by one for three and nine
Modulo either or , , hence for every nonnegative integer . A decimal expansion therefore has the same remainder as the sum of its digits.
For digits , with the units digit,
This proves both implications of each test; it is not just a pattern noticed in a few examples.
Tests for three and nine
A non-negative decimal integer is divisible by exactly when its digit sum is divisible by , and divisible by exactly when its digit sum is divisible by .
Not in the formula booklet: learn it.
The digit sum need not equal the divisor. A sum of , for example, passes both tests. You may apply the digit-sum rule again to a large sum, because it preserves the same congruence.
Worked example 3: a digit sum divisible by both
Question. Test for divisibility by and , justifying the digit-sum method.
Plan. Reduce the decimal place values to , then test the sum.
Why this step? The same place-value argument works modulo . Divisibility by also implies divisibility by , since is a multiple of .
Answer. is divisible by both and .
Check. .
Change only the units digit, from to .
Worked example 4: three does not guarantee nine
Question. Test for divisibility by and .
Plan. Use the changed digit sum to distinguish the two tests.
Why this step? A multiple of need not be a multiple of . The digit sum tests the chosen divisor, rather than just whether it has a factor of three.
Answer. divides , but does not.
Check. .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account