ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude

Divisibility tests and remainders

Test a whole number for divisibility by 2, 3, 4, 5, 8, 9 and 11 from its digits, join two tests for a bigger divisor, and find the remainder of a sum or product without long division.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

Dividing a whole number by a divisor gives a quotient and a remainder: number = divisor x quotient + remainder. The remainder is always less than the divisor, so on division by 9 it can only be one of 0, 1, 2 and so on up to 8. For example, 47 = 6 x 7 + 5, so 47 divided by 6 gives quotient 7 and remainder 5. A number is divisible by the divisor exactly when the remainder is 0. The tests in this lesson read a few features of a number: its units digit, its last two or three digits, the sum of its digits and, for 11, an alternating sum.

Tests that read the end digits or the digit sum

Some tests look only at the end of the number. A number is divisible by 2 when its units digit is even, and by 5 when its units digit is 0 or 5. Since 100 is a multiple of 4, only the last two digits matter for 4: 7,316 passes because 16 = 4 x 4. Since 1,000 is a multiple of 8, only the last three digits matter for 8: 5,240 passes because 240 = 8 x 30. The tests for 3 and 9 use the digit sum instead, because 10, 100 and 1,000 each leave remainder 1 on division by 3 or by 9. The digits of 4,527 add up to 18, so 4,527 is divisible by both 3 and 9.

The test for 11 and joining two tests

For 11, start at the units digit and combine the digits with signs that alternate: plus, minus, plus, minus. For 8,294 this gives 4 - 9 + 2 - 8 = -11. A number is divisible by 11 exactly when this alternating sum is 0, 11, -11 or another multiple of 11, so 8,294 passes, and indeed 8,294 = 11 x 754. Many larger divisors can be tested by splitting them into two factors that have no common factor other than 1 and using both tests: 6 = 2 x 3, 12 = 3 x 4, 72 = 8 x 9 and 88 = 8 x 11. For 24, use 3 and 8. The pair 4 and 6 will not do, because 4 and 6 share the factor 2. Such a split exists only when the divisor has at least two different prime factors, so a prime such as 7 or a prime power such as 16 = 2^4 cannot be tested this way.

Remainders of sums, products and powers

To find the remainder of a sum or a product, replace each number by its own remainder, add or multiply those small numbers, and take the remainder once more. On division by 7, 45 leaves 3 and 62 leaves 6. So 45 + 62 leaves the same remainder as 3 + 6 = 9, which is 2, and 45 x 62 leaves the same remainder as 3 x 6 = 18, which is 4. Check: 107 = 7 x 15 + 2 and 2,790 = 7 x 398 + 4. A power is a repeated product, so a number that leaves remainder 1 gives remainder 1 for every power: 22 leaves 1 on division by 7, and so does 22^5.

Common mistakes

Do not use the digit sum for 4, 8 or 11; it works only for 3 and 9. Do not judge 4 by the units digit alone: 614 ends in 4, but 14 is not a multiple of 4, so 614 is not divisible by 4. For a remainder on division by 11, begin the alternating sum at the units digit; starting from the left flips the sign whenever the number has an even count of digits. A final remainder must lie between 0 and one less than the divisor, so reduce 18 to 4 on division by 7, and add 7 to a negative result such as -3 to get 4. Passing the tests for 4 and 6 does not prove divisibility by 24.

A five-step checking routine

1. Read the end of the number: the units digit for 2, 5 and 10, the last two digits for 4 and the last three for 8. 2. Add the digits for 3 and 9. 3. For 11, form the alternating sum starting from the units digit. 4. If the divisor splits into two factors that share no factor other than 1 and that each have a test in steps 1 to 3, as 24 = 3 x 8 and 72 = 8 x 9 do, apply both tests. Otherwise, as with 7, 14 or 16, use long division. 5. For the remainder of a sum, product or power, work with the small remainders and reduce the answer until it is less than the divisor.

Worked examples

  1. Is 73,152 divisible by 72? Use divisibility tests instead of long division.

    1. 72 = 8 x 9, and 8 and 9 have no common factor other than 1, so test for 8 and for 9.
    2. Test for 8: the last three digits form 152, and 152 = 8 x 19, so 73,152 is divisible by 8.
    3. Test for 9: the digit sum is 7 + 3 + 1 + 5 + 2 = 18, a multiple of 9, so 73,152 is divisible by 9.
    4. Both tests pass, so 73,152 is divisible by 72. Dividing confirms it: 73,152 / 72 = 1,016.

    Answer: Yes. 73,152 = 72 x 1,016, so it is divisible by 72.

  2. Find the remainder when 58,293 is divided by 11.

    1. Start at the units digit and alternate the signs: 3 - 9 + 2 - 8 + 5 = -7.
    2. A remainder cannot be negative, so add 11: -7 + 11 = 4.
    3. Check by division: 11 x 5,299 = 58,289, and 58,293 - 58,289 = 4.

    Answer: The remainder is 4.

  3. Without adding or multiplying the numbers first, find the remainders when 247 + 386 and 247 x 386 are divided by 9.

    1. 247 has digit sum 13, which leaves 4 on division by 9. 386 has digit sum 17, which leaves 8.
    2. Sum: 4 + 8 = 12, which leaves 3. Check: 247 + 386 = 633, and 633 = 9 x 70 + 3.
    3. Product: 4 x 8 = 32, which leaves 5, because 32 = 9 x 3 + 5.
    4. Check: 247 x 386 = 95,342, and its digit sum 23 also leaves 5.

    Answer: The sum leaves remainder 3 and the product leaves remainder 5.

Practice checks

  1. Which of these numbers is divisible by 4?
  2. In the five-digit number 52_16, the blank stands for one missing digit. Which digit makes the number divisible by 9?
  3. What is the remainder when 5,927 is divided by 11?
  4. What is the remainder when 125 x 127 x 129 is divided by 8?
  5. Which of these numbers is divisible by 24?

Sources checked