Chapter 4 of 20 · 5 min · 12 questions

Chapter video5:00
Take quiz →

Divisibility rules: test the number, do not divide it

A number is divisible by 3 when dividing it by 3 leaves no remainder. UPSC says this in several ways: "is divisible by", "is exactly divisible by", "leaves remainder 0 when divided by". In the ten papers from 2017 to 2026, by our count, the word "divisible" appears in 21 questions.

The rules below give the answer from the digits, with no division.

Group 1: look at the end

  • 2: the last digit is even (0, 2, 4, 6 or 8).
  • 5: the last digit is 0 or 5. 10: the last digit is 0.
  • 4: the number made by the last two digits is divisible by 4.
  • 8: the number made by the last three digits is divisible by 8.

Why two digits for 4? Because 100 = 4 × 25, so every complete hundred is divisible by 4. In the same way 1000 = 8 × 125, so for 8 the last three digits decide.

Take 5316. It ends in 16, so it is divisible by 4. For 8, look at 316. It is 4 less than 320, which is 8 × 40. So 5316 is not divisible by 8.

Group 2: add the digits

For 3 and 9 the end tells you nothing. Add the digits.

  • 3: the sum of the digits is divisible by 3.
  • 9: the sum of the digits is divisible by 9.

For 738, the sum is 7 + 3 + 8 = 18. 18 is divisible by 3 and by 9, so 738 is divisible by both.

Group 3: two rules together

6 and 12 have no rule of their own. Split the divisor into two parts with no common factor, and apply both tests.

  • 6 = 2 × 3: the last digit is even and the digit sum is divisible by 3.
  • 12 = 3 × 4: the digit sum is divisible by 3 and the last two digits are divisible by 4.

Do not split 12 as 2 × 6. The number 18 is divisible by 2 and by 6, but not by 12, because 2 and 6 share the factor 2.

11 and 7

11: start from the right and take alternate digits. Add each set, then subtract the smaller total from the bigger. If the difference is 0 or a multiple of 11, the number is divisible by 11.

For 9174, one set is 4 + 1 = 5 and the other is 7 + 9 = 16. The difference is 11, so 9174 is divisible by 11. With a missing digit, as in 47A3, the sets are 3 + 7 = 10 and A + 4. They are equal when A = 6, and 4763 = 11 × 433.

7: there is no quick rule worth learning. Divide, or take away multiples of 7 that you know. For 1638: take away 1400 to leave 238, then 210 to leave 28, and 28 = 7 × 4. So 1638 is divisible by 7.

The rules in one table

Divisible byTest
2, 5, 10last digit: even, 0 or 5, 0
4last two digits divisible by 4
8last three digits divisible by 8
3digit sum divisible by 3
9digit sum divisible by 9
6tests for 2 and 3 together
12tests for 3 and 4 together
11difference of alternate digit sums is 0 or a multiple of 11
7divide

Worked example 1: a missing digit

An 8-digit number 4252746B leaves remainder 0 when divided by 3. How many values of B are possible? (UPSC CSAT 2019)

Remainder 0 means divisible by 3. The known digits add to 30 (4 + 2 + 5 + 2 + 7 + 4 + 6). Now 30 + B must be a multiple of 3, so the total is 30, 33, 36 or 39. B is 0, 3, 6 or 9: 4 values.

Worked example 2: cutting options

Which of these is divisible by 12: 3142, 5226, 7316, 6732?

Start with the test for 4. 3142 ends in 42 and 5226 ends in 26, so both are out. Add the digits of the other two. 7316 gives 17, not divisible by 3. 6732 gives 18, which is. The answer is 6732.

Where students slip

  • Forgetting 0. 0 is a digit too. In the 2019 question, leaving it out gives 3 instead of 4.
  • Using the digit sum for the wrong divisor. It works for 3 and 9 only, not for 4, 7, 8 or 11.
  • Checking only two digits for 8. 3124 ends in 24, but 124 is not in the eight times table.
  • Splitting into parts that share a factor. 12 is 3 × 4, not 2 × 6. A number divisible by 4 and by 6 is always divisible by 12, but not always by 24: 12 itself is not.

How to practise

Write any five-digit number and test it for 2, 3, 4, 5, 6, 8, 9 and 11. Then replace one digit with a letter and list every value that makes it divisible by 3, by 9 and by 11. Do five such numbers a day.

Save your reading and sit the 9 PM all-India test.

Sign up