Skip to lesson content

Lesson 2 of 4

Number Play · Lesson 2 of 4

Checking Divisibility Quickly

“Understand place-value divisibility tests, missing digits and digital-root patterns.”

Learning Objectives

• Explain divisibility tests using decimal place value. • Use digit sums for 3 and 9 and alternating sums for 11. • Combine tests using the least common multiple of the chosen factors. • Find missing digits systematically and check every possibility. • Explain digital-root patterns and distinguish a digital root from a remainder.

Suppose someone asks whether 4,27,536 can be shared equally among nine groups. Long division would answer the question, but the digits themselves contain a quicker clue. A useful shortcut does more than save time: it reveals how place value connects a large number with a much smaller calculation. You will begin with familiar last-digit tests and then investigate why adding digits, or adding and subtracting alternate digits, can reveal divisibility.

Keep the grouping idea from the previous lesson in mind. If part of a number is already a complete multiple of the divisor, it cannot affect the final remainder. We only need to examine what is left after removing that part. This is the reason behind every shortcut developed here.

In the digit string dcba, the letters indicate digits in the thousands, hundreds, tens and units places. The number is 1000d + 100c + 10b + a. Here dcba is a way of writing a number; it does not mean d × c × b × a. A leading digit cannot be zero if the number is to have all four digits.

For example, 4075 = 4 × 1000 + 0 × 100 + 7 × 10 + 5. Every place except the units contributes a multiple of 10. Therefore any whole number can be written 10q + a, where a is its units digit. Since 10 is also divisible by 2 and 5, only a matters for divisibility by 10, 5 or 2.

For divisibility by 4, use N = 100q + t, where t is the number formed by the last two digits. The first part is divisible by 4 because 100 = 4 × 25. So N is divisible by 4 exactly when t is. For 8, use N = 1000q + u: 1000 = 8 × 125, so only the last three digits matter. For shorter numbers, simply test the whole number.

DivisorWhat to inspectCondition
2Units digit0, 2, 4, 6 or 8
5Units digit0 or 5
10Units digit0
4Last two digits as a numberDivisible by 4
8Last three digits as a numberDivisible by 8
Last-digit tests with a reason

Problem
Check 4075 and 6310 for divisibility by 2, 5 and 10.

  1. 1.4075 = 4070 + 5. The 4070 part is divisible by 2, 5 and 10, so examine 5.
  2. 2.The digit 5 is divisible by 5 but not by 2 or 10. Thus 4075 is divisible by 5 only among these three divisors.
  3. 3.6310 ends in 0, so it is divisible by all three. Zero leftover units do not disturb its complete tens.
Two digits and three digits

Problem
Check 7316 for divisibility by 4 and 2312 for divisibility by 8.

  1. 1.7316 = 7300 + 16. The 7300 is a multiple of 100 and hence of 4; 16 = 4 × 4. Therefore 7316 is divisible by 4.
  2. 2.2312 = 2000 + 312. The 2000 is divisible by 8, and 312 = 8 × 39. Therefore 2312 is divisible by 8.
  3. 3.Compare 1316: the last two digits 16 pass the test for 4, but 316 = 8 × 39 + 4 does not pass the test for 8. The tests are different.

A Shortcut for Divisibility by 9

Start with numbers made entirely from 0s and 9s, such as 999, 909, 900, 90 and 990. Each term in their place-value expansion has a factor of 9 or is zero, so the whole number is divisible by 9. But many other multiples of 9, such as 18 and 72, do not look like this.

The units digit alone cannot decide the question: 99 is divisible by 9 but 109 is not. Instead, inspect the place values. We can write 10 = 9 + 1, 100 = 99 + 1 and 1000 = 999 + 1. Each decimal place value is one more than a multiple of 9.

In 427, the four hundreds contribute 4 × 99 plus four leftovers. The two tens contribute 2 × 9 plus two leftovers. Add the seven units: 427 = (4 × 99 + 2 × 9) + (4 + 2 + 7). The bracketed large part is divisible by 9. Thus 427 and 13 have the same remainder when divided by 9.

Thirteen leftovers can be regrouped as 9 + 4. So the final remainder is 4, not 13. A digit of 9 contributes nine units to the leftover sum, and those units form another complete group. Do not call 9 a remainder on division by 9.

427 = 400 + 20 + 7Complete groups of 94 × 99 + 2 × 9Leftover sum4 + 2 + 7 = 1313 = 9 + 4 → remainder 4
Place value reduces a divisibility test to a digit sum
The digit-sum decompositionLaTeX

The same reasoning works with any number of digits. The number and its digit sum differ by a multiple of 9, so either both are divisible by 9 or neither is. This gives both directions of the test: a divisible number has a divisible digit sum, and a divisible digit sum identifies a divisible number.

It also gives the two negative statements: if the number is not divisible by 9, its digit sum is not; if the digit sum is not divisible by 9, the number is not. These statements all follow from the same shared remainder, rather than from four separate rules.

Definition
Divisibility test for nine

A nonnegative integer is divisible by 9 if and only if its digit sum is divisible by 9. To find its remainder, reduce the digit sum to a remainder from 0 to 8.

Repeated digit sums

Problem
Find the remainder when 7309 is divided by 9, without long division.

  1. 1.Add the digits: 7 + 3 + 0 + 9 = 19. The original number and 19 have the same remainder.
  2. 2.19 = 9 × 2 + 1, so the remainder is 1.
  3. 3.Alternatively, add again: 19 → 1 + 9 = 10 → 1 + 0 = 1. This repeated process preserves the remainder at each stage.
Checking several numbers

Problem
Which of 123, 405, 8888, 93547 and 358095 are divisible by 9?

  1. 1.123 has digit sum 6, so it is not divisible by 9.
  2. 2.405 has digit sum 9, so it is divisible by 9.
  3. 3.8888 has sum 32, 93547 has sum 28, and 358095 has sum 30. None of these sums is divisible by 9.
  4. 4.Thus only 405 passes. Their remainders in the original order are 6, 0, 5, 1 and 3.
The smallest positive multiple using even digits

Problem
Find the smallest positive multiple of 9 containing no odd digits.

  1. 1.Allowed digits are 0, 2, 4, 6 and 8. The number must be positive, so its first digit cannot be 0.
  2. 2.The digit sum is even. It cannot be 9; the smallest positive possible digit sum divisible by 9 is 18.
  3. 3.A one-digit number cannot have sum 18. A two-digit number with even digits has sum at most 8 + 8 = 16. So at least three digits are needed.
  4. 4.Use the smallest nonzero even hundreds digit, 2. The other two digits must sum to 16, forcing 8 and 8. Hence 288 is smallest, and 288 = 9 × 32.
  5. 5.If zero itself were allowed as the answer, 0 would be the smallest nonnegative multiple. The word positive removes that ambiguity.
Nearby multiples and counting multiples

Problem
Find the multiple of 9 closest to 6000 and count the multiples strictly between 4300 and 4400.

  1. 1.The digit sum of 6000 is 6, so it is 6 above a multiple of 9 and 3 below the next one. The neighbours are 5994 and 6003; 6003 is closer.
  2. 2.The first multiple above 4300 is 4302 = 9 × 478. The last below 4400 is 4392 = 9 × 488.
  3. 3.The multipliers are all integers from 478 through 488, including both ends. Their count is 488 − 478 + 1 = 11.

A Shortcut for Divisibility by 3

Every multiple of 9 is a multiple of 3, because 9k = 3(3k). The converse fails: 15, 33 and 87 are multiples of 3 but not of 9. So a divisibility test for 3 must recognise more numbers.

Use the same place-value decomposition. The numbers 9, 99 and 999 are multiples of 3 as well as 9. Removing these parts leaves the digit sum. Therefore the original number and its digit sum also have the same remainder on division by 3.

You must test the digit sum against 3 when your divisor is 3. A digit sum of 12 passes the test for 3 even though it fails the test for 9. The remainder on division by 3 must be 0, 1 or 2.

Divisible by three but not nine

Problem
Check 453 for divisibility by 3 and 9.

  1. 1.Its digit sum is 4 + 5 + 3 = 12.
  2. 2.Since 12 = 3 × 4, the number is divisible by 3. But 12 is not divisible by 9, so 453 is not divisible by 9.
  3. 3.Indeed 453 = 3 × 151 and 453 = 9 × 50 + 3. One test passing does not make every related test pass.
A remainder from a digit sum

Problem
Find the remainder when 527 is divided by 3.

  1. 1.Add the digits: 5 + 2 + 7 = 14.
  2. 2.14 = 3 × 4 + 2, so the digit sum leaves remainder 2.
  3. 3.The original number leaves the same remainder: 527 = 3 × 175 + 2.

A Shortcut for Divisibility by 11

For 11 the place values behave differently. One is one more than a multiple of 11: 1 = 0 + 1. Ten is one less: 10 = 11 − 1. One hundred is one more: 100 = 99 + 1. One thousand is one less: 1000 = 1001 − 1.

The pattern continues, alternating between an extra one and a missing one. Consequently the units, hundreds and ten-thousands digits contribute with a plus sign, while the tens, thousands and hundred-thousands digits contribute with a minus sign.

Start at the units digit with a plus sign and alternate as you move left. The resulting signed sum differs from the original number by a multiple of 11. If the sum is 0 or any positive or negative multiple of 11, the original number is divisible by 11.

Place valueNear a multiple of 11Contribution
10 + 1+ digit
1011 − 1− digit
10099 + 1+ digit
10001001 − 1− digit
100009999 + 1+ digit
An alternating sum of zero

Problem
Is 462 divisible by 11?

  1. 1.Starting at the units digit, calculate 2 − 6 + 4 = 0.
  2. 2.In place-value form, 462 = (4 × 99 + 6 × 11) + (4 − 6 + 2).
  3. 3.The first bracket is divisible by 11 and the second is zero. Hence 462 is divisible by 11; 462 = 11 × 42.
A negative signed result

Problem
Use the test for 328105 and interpret the answer.

  1. 1.Starting with a plus at the units, calculate 5 − 0 + 1 − 8 + 2 − 3 = −3.
  2. 2.Equivalently, group the plus digits and minus digits: (5 + 1 + 2) − (0 + 8 + 3) = 8 − 11 = −3.
  3. 3.The number is three short of a multiple of 11. To express it above the preceding multiple, add 11 to −3: the standard remainder is 8.
  4. 4.Check: 328105 = 11 × 29827 + 8. A negative signed sum is useful information, but it is not a standard remainder.
Start with + at the units digit−3+2−8+1−0+5−3 + 2 − 8 + 1 − 0 + 5 = −3−3 + 11 = 8 → standard remainder
Alternating digit positions for divisibility by eleven

For divisibility alone, reversing all signs makes no difference: a number is a multiple of 11 exactly when its negative is. For the actual remainder, however, the sign convention matters. Use a plus on the units digit, then add or subtract multiples of 11 until the result lies from 0 to 10.

For example, a signed sum of 22 means remainder 0, and a signed sum of −14 becomes −14 + 22 = 8. Do not stop after adding 11 if the value is still negative.

More tests for eleven

Problem
Test 158, 841, 481, 5529, 90904 and 857076.

  1. 1.158: 8 − 5 + 1 = 4, so the remainder is 4. 841: 1 − 4 + 8 = 5, so the remainder is 5.
  2. 2.481: 1 − 8 + 4 = −3, giving remainder 8. 5529: 9 − 2 + 5 − 5 = 7, giving remainder 7.
  3. 3.90904: 4 − 0 + 9 − 0 + 9 = 22, a multiple of 11. It is divisible.
  4. 4.857076: 6 − 7 + 0 − 7 + 5 − 8 = −11, also a multiple of 11. It is divisible. Zero is not the only signed sum that passes.

More on Divisibility Shortcuts

Choose the test that uses the least information. First inspect the final digit for 2, 5 and 10. Next inspect the last two or three digits for 4 and 8. Compute the digit sum once and reuse it for both 3 and 9. Keep the alternating sum separate for 11.

A number can pass several tests at once. For example, 128 is divisible by 2, 4 and 8: it ends in 8, its last two digits form 28, and 128 = 8 × 16. But its digit sum 11 rules out both 3 and 9. A failed test for one divisor says nothing by itself about an unrelated divisor.

Try before revealing

For each number in the tables below, apply the shortcuts yourself first. A compact table lists which divisors work; any divisor from the stated list that is absent does not divide the number.

NumberDivisors that work from 2, 3, 4, 5, 6, 8, 9, 10, 11
1282, 4, 8
9902, 3, 5, 6, 9, 10, 11
15862
2755, 11
66862
6392102, 3, 5, 6, 10, 11
4297142, 3, 6, 9
28562, 3, 4, 6, 8
30602, 3, 4, 5, 6, 9, 10
4068393

To check a row rather than trust a list, take 3060. The ending 0 passes 2, 5 and 10; 60 passes 4; 060 = 60 fails 8. The digit sum 9 passes 3 and 9, and the combination of 2 and 3 passes 6. The alternating sum 0 − 6 + 0 − 3 = −9 fails 11. Each entry has its own reason.

Divisibility Shortcuts for Other Numbers

A divisibility test for a composite number can sometimes be built from tests you already know. For 6, test 2 and 3: their LCM is 6. Among 38, 225, 186 and 64, only 186 is both even and has a digit sum divisible by 3. So only 186 is divisible by 6.

Why must both tests pass? The factorisation 6 = 2 × 3 requires both prime factors. Being even supplies the factor 2; passing the test for 3 supplies the factor 3. Neither condition on its own is enough.

For 24, checking 4 and 6 is insufficient. The factorisations 4 = 2² and 6 = 2 × 3 together guarantee only 2² × 3 = 12. The same factor 2 can satisfy both tests. Instead use 8 and 3: these require 2³ and 3, giving 24.

Target divisorTests that sufficeWhy
62 and 3LCM = 6
153 and 5LCM = 15
182 and 9LCM = 18
243 and 8LCM = 24
364 and 9LCM = 36
444 and 11LCM = 44
Using the right pair

Problem
Decide whether 936 is divisible by 24 and whether 1224 is divisible by 36.

  1. 1.For 936, the digit sum is 18, which passes 3. Also 936 = 8 × 117, so it passes 8. It is divisible by 24; 936 = 24 × 39.
  2. 2.For 1224, the ending 24 passes 4. The digit sum is 9, which passes 9. It is divisible by 36; 1224 = 36 × 34.
  3. 3.In each case, the LCM of the tested divisors equals the target divisor.
One missing digit with two answers

Problem
If 31z5 is divisible by 9, find every digit z.

  1. 1.Its digit sum is 3 + 1 + z + 5 = 9 + z. Since z is a digit, 0 ≤ z ≤ 9.
  2. 2.Thus the digit sum lies from 9 to 18. The multiples of 9 in this interval are 9 and 18.
  3. 3.9 + z = 9 gives z = 0; 9 + z = 18 gives z = 9. Both 3105 and 3195 work.
  4. 4.A missing digit may be zero when it is not the leading digit. Do not stop after the first answer.
Two missing digits for eighteen

Problem
Find all digit pairs (a, b) for which 48a23b is divisible by 18.

  1. 1.Use the tests for 2 and 9. The units digit b must be one of 0, 2, 4, 6, 8.
  2. 2.The digit sum is 17 + a + b. It must be 18 or 27, since its maximum here is 17 + 9 + 8 = 34.
  3. 3.If b = 0, a must be 1. If b = 2, a must be 8. If b = 4, a must be 6. If b = 6, a must be 4. If b = 8, a must be 2.
  4. 4.All pairs are (1, 0), (8, 2), (6, 4), (4, 6), (2, 8). Every even units digit was checked, so the list is complete.
Two missing digits for forty-four

Problem
Find all digit pairs (p, q) for which 3p7q8 is divisible by 44.

  1. 1.Use the tests for 4 and 11. The last two digits q8 form 10q + 8. This is divisible by 4 exactly when q is even, so q is 0, 2, 4, 6 or 8.
  2. 2.The alternating sum, starting at the units, is 8 − q + 7 − p + 3 = 18 − p − q.
  3. 3.Because p ≤ 9 and q ≤ 8, this sum lies from 1 to 18. The only multiple of 11 possible is 11. Thus p + q = 7.
  4. 4.Testing the allowed q values gives (p, q) = (7, 0), (5, 2), (3, 4), (1, 6). For q = 8, p would be −1, which is not a digit.
  5. 5.These are missing-digit questions, not cryptarithms: different letter digits are not required to differ unless the question says so.

Digital Roots

You have already shortened digit sums more than once. For 489710, the first sum is 29, then 2 + 9 = 11, then 1 + 1 = 2. Once you reach one digit, stop. The final digit is called the digital root.

For a positive integer, the digital root is one of 1 through 9. The digital root of 0 is 0. Every digit-sum step preserves the remainder on division by 9, which explains both the usefulness and the limitation of this idea.

Definition
Digital root

The single digit obtained by repeatedly adding the digits of a nonnegative integer until one digit remains.

For a positive number with digital root 1 through 8, the digital root equals its remainder on division by 9. For digital root 9, the remainder is 0. Thus 18 has digital root 9 but leaves no remainder when divided by 9. A remainder of 9 is impossible for this divisor.

The digital root also determines the remainder on division by 3. Roots 1, 4 and 7 leave remainder 1; roots 2, 5 and 8 leave remainder 2; roots 3, 6 and 9 leave remainder 0. Zero itself also leaves remainder 0.

Digital root is not parity

Problem
Do a number and its digital root always have the same parity?

  1. 1.18 is even but its digital root is 9, which is odd. So the proposed always rule fails.
  2. 2.19 is odd but its digital root is 1, also odd; 20 is even and its digital root is 2, also even. Sometimes the parities match.
  3. 3.Moreover, 18 and 27 have the same digital root 9 but different parities. Knowing the digital root alone cannot determine whether the original number is even or odd.

For consecutive positive integers, the digital roots repeat 1, 2, 3, 4, 5, 6, 7, 8, 9. For example, 17 through 28 have roots 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1. When adding 1 takes the remainder past 8, the number becomes a multiple of 9, represented by digital root 9, before returning to 1.

A sequence formed by repeatedly adding a fixed amount follows the same remainder pattern. Adding 11 adds one complete group of 9 and two extra units, so each digital root advances by two positions around the repeating cycle.

Positive sequenceRepeating digital roots
Multiples of 3: 3, 6, 9, …3, 6, 9
Multiples of 4: 4, 8, 12, …4, 8, 3, 7, 2, 6, 1, 5, 9
Multiples of 6: 6, 12, 18, …6, 3, 9
One more than multiples of 6: 1, 7, 13, …1, 7, 4
Start at 10 and repeatedly add 111, 3, 5, 7, 9, 2, 4, 6, 8
489710 → 29 → 11 → 2Digital root 2; remainder 2 on division by 9729 → 18 → 9Digital root 9; remainder 0 on division by 9
Repeated digit sums keep the same remainder on division by nine
Adding ten to a number

Problem
An eight-digit positive integer has digital root 5. What is the digital root after adding 10?

  1. 1.The original number has form 9q + 5.
  2. 2.Adding 10 gives 9q + 15 = 9(q + 1) + 6.
  3. 3.The new remainder is 6, so the new digital root is 6. The number of digits in the original does not affect this argument.
Digital root of an expression

Problem
Find the digital root of 9a + 36b + 13, assuming a and b are integers and the result is positive.

  1. 1.Separate 13 as 9 + 4: 9a + 36b + 13 = 9(a + 4b + 1) + 4.
  2. 2.The first term is a multiple of 9. Therefore the whole expression leaves remainder 4.
  3. 3.Since it is positive and the remainder is nonzero, its digital root is 4.
Finding numbers with a chosen digital root

Problem
List the integers strictly between 600 and 700 with digital roots 5, 7 and 3.

  1. 1.For root 5, find the first integer in the interval with remainder 5 on division by 9: 608 = 9 × 67 + 5. Keep adding 9.
  2. 2.Root 5: 608, 617, 626, 635, 644, 653, 662, 671, 680, 689, 698.
  3. 3.Root 7: begin at 601 = 9 × 66 + 7. The list is 601, 610, 619, 628, 637, 646, 655, 664, 673, 682, 691.
  4. 4.Root 3: begin at 606 = 9 × 67 + 3. The list is 606, 615, 624, 633, 642, 651, 660, 669, 678, 687, 696.
  5. 5.If the endpoints are included, 700 also belongs in the root-7 list because 7 + 0 + 0 = 7. State how you interpret “between”.
A digit riddle

Build a number using only the smallest odd digit. Its number of digits, its digit sum and its digital root must all equal the largest odd single digit. The smallest odd digit is 1 and the largest is 9. Therefore use nine 1s: 111111111, or 11,11,11,111. It has nine digits, their sum is 9, and its digital root is 9.

Quiz

Quick check

Why do the last three digits determine divisibility by 8?

Quick check

Which number is divisible by 3 but not by 9?

Quick check

A units-positive alternating digit sum is −3. What is the remainder on division by 11?

Quick check

Which pair of tests guarantees divisibility by 24?

Quick check

A positive integer has digital root 9. Which statement must hold?

Answer: 1000 is divisible by 8. The remaining part is a multiple of 1000, hence already a multiple of 8.

Practice Problems

Practice Problems
  1. Check whether 5424 is divisible by 4 and by 8. Explain each decision.
  2. Find the remainder of 8573 on division by 9 and decide whether it is divisible by 3.
  3. Find every digit x for which 52x4 is divisible by 11.
  4. Find every digit pair (a, b) for which 72a4b is divisible by 18.
  5. Start with a positive integer of digital root 8. Add 11 repeatedly. Give the next five digital roots and explain why the cycle eventually returns to 8.

The last two digits form 24, which is divisible by 4, so 5424 is divisible by 4. The last three digits form 424 = 8 × 53, so 5424 is divisible by 8.

Key Takeaways

Key Takeaways

• Divisibility shortcuts work by separating a number into complete multiples and a smaller leftover part. • For 2, 5 and 10 inspect the last digit; for 4 and 8 inspect the last two and three digits respectively. • Digit sums preserve remainders on division by 3 and 9. • For 11 use alternating signs starting with plus at the units, and reduce signed results to remainders from 0 to 10. • Combined tests must supply the target divisor’s full LCM; 4 and 6 alone do not establish divisibility by 24. • Check every allowed missing digit systematically; zero is allowed away from a leading position. • For positive integers, digital root 9 means remainder 0 on division by 9. Digital roots do not determine parity.