Math Lab
Home/Class VIII/Ch 5/Divisibility tests

Divisibility tests

How can you tell, in one second, whether 8765432187654321 is a multiple of 99? Long division would take a minute. A divisibility test takes about three seconds , sometimes one. These tricks were known to Indian and Greek mathematicians thousands of years ago and they are still useful today.

Concept

A divisibility test is a quick rule that tells you whether one number divides another, using only the digits. Here are the standard tests for the small divisors.

By 22. Last digit is even: 0,2,4,6,80, 2, 4, 6, 8. Example: 58765876 ends in 66, so divisible by 22.

By 55. Last digit is 00 or 55. Example: 980980 , yes. 987987 , no.

By 1010. Last digit is 00.

By 44. Look at the last two digits. If they form a number divisible by 44, so is the whole. Example: 73167316 , last two digits 16=4×416 = 4 \times 4, so 73167316 is divisible by 44.

Why? 7316=7300+167316 = 7300 + 16, and 7300=100×737300 = 100 \times 73 is a multiple of 44 (since 100100 is). So divisibility of 73167316 by 44 is identical to divisibility of 1616 by 44.

By 88. Look at the last three digits. Same logic: 1000=8×1251000 = 8 \times 125, so we only need to test the last three. Example: 5216852168 , last three digits 168=21×8168 = 21 \times 8, divisible.

By 33. Add the digits. If the sum is divisible by 33, so is the whole. Example: 45214521 , digit sum 4+5+2+1=12=3×44+5+2+1 = 12 = 3 \times 4. Divisible.

By 99. Same rule but the digit sum must be divisible by 99. Example: 45274527 , digit sum 4+5+2+7=18=9×24+5+2+7 = 18 = 9 \times 2. Divisible.

Why does the digit-sum trick work? Because 101(mod9)10 \equiv 1 \pmod{9}, 1001(mod9)100 \equiv 1 \pmod{9}, etc. So 45274+5+2+7(mod9)4527 \equiv 4 + 5 + 2 + 7 \pmod{9}. We will see this idea formally in the next subtopic.

By 66. Divisible by both 22 and 33. Example: 45214521 is divisible by 33 but ends in 11, so not by 66.

By 1111. Compute the alternating sum: take digits from right to left, alternately adding and subtracting. If the result is a multiple of 1111 (including 00), so is the original. Example: 71297129 , alternating from right: 92+17=19 - 2 + 1 - 7 = 1. Not divisible. Now 71287128: 82+17=08 - 2 + 1 - 7 = 0. Yes, 7128=11×6487128 = 11 \times 648.

Combining tests. A number is divisible by 1212 iff it is divisible by both 33 and 44. By 1515 iff by both 33 and 55. By 3636 iff by both 44 and 99. (The two divisors must be coprime for this combining trick to work.)

Worked examples

Example 1. Is 63,48063{,}480 divisible by 88?

  • Last three digits: 480480.
  • 480÷8=60480 \div 8 = 60, no remainder.
  • So yes, 63,48063{,}480 is divisible by 88.

Example 2. Is 87,654,32187{,}654{,}321 divisible by 99?

  • Digit sum: 8+7+6+5+4+3+2+1=36=9×48+7+6+5+4+3+2+1 = 36 = 9 \times 4.
  • Yes , divisible by 99.

Example 3. Test 94,86494{,}864 for divisibility by 1111.

  • Alternating sum from right: 46+84+9=114 - 6 + 8 - 4 + 9 = 11.
  • 1111 is a multiple of 1111. So yes.

Example 4. Find the smallest digit dd to put in the blank so that 2348d2348\,d is divisible by 99.

  • Digit sum =2+3+4+8+d=17+d= 2+3+4+8+d = 17+d.
  • For divisibility by 99 we need 17+d0(mod9)17+d \equiv 0 \pmod 9, i.e., d1(mod9)d \equiv 1 \pmod 9.
  • Smallest such single digit: d=1d = 1. So 2348123481 is divisible by 99.

Try it yourself

  1. Test 738738 for divisibility by 33 and by 99.
  2. Test 45364536 for divisibility by 44 and by 88.
  3. Test 73927392 for divisibility by 1111.
  4. Find the smallest digit dd that makes 4521d4521d divisible by 99.
  5. Is 123,456123{,}456 divisible by 66? Justify using two simpler tests.
  6. Find the smallest 55-digit number divisible by 1111.
  7. Without dividing, find which of 13,57213{,}572 and 13,57513{,}575 is divisible by 44.
  8. Show that 10241024 is divisible by 88 but not by 1616. (Check the last three digits and explain.)

Activity

Test the test. Write down ten random 44-digit numbers. Apply the divisibility-by-1111 test to each. Then check by actual division. Every one of your predictions should be right. Repeat with the 99 test. Once you trust the tests, you have a powerful new shortcut for life.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Divisibility tests
5 questions · pick the best answer
Q1

Is 45364536 divisible by 44?

Q2

Digit sum of 35283528 is

Q3

Smallest digit dd so 213d213d is divisible by 99:

Q4

Which is divisible by 66?

Q5

Test of divisibility by 1111 for 77 digit numbers uses