Combined Divisibility Rules

Combine simple rules to test for 12, 15, 18 and 36, learn the alternating sum rule for 11, and find every divisor from 2 to 12 in seconds.

Intermediate25 minLesson

Definition

Some divisors have no rule of their own, but you can combine two simple rules.
Combined rule: if aa and bb are coprime (their only common factor is 11), then a number divisible by both aa and bb is divisible by a×ba \times b.
DivisorTestWhy it works
12=3×412 = 3 \times 4digit sum divisible by 3 and last two digits divisible by 43 and 4 are coprime
15=3×515 = 3 \times 5digit sum divisible by 3 and last digit 0 or 53 and 5 are coprime
18=2×918 = 2 \times 9last digit even and digit sum divisible by 92 and 9 are coprime
36=4×936 = 4 \times 9last two digits divisible by 4 and digit sum divisible by 94 and 9 are coprime
Careful: 12=2×612 = 2 \times 6 is NOT a valid test, because 2 and 6 share the factor 2. The number 1818 is divisible by 2 and by 6, but 18÷12=1.518 \div 12 = 1.5. In general, passing the tests for aa and bb proves divisibility by lcm(a,b)\text{lcm}(a, b), which equals a×ba \times b only when aa and bb are coprime.
Divisibility by 11 (alternating sum): start at the ones digit and add and subtract the digits in turn: +−+−…+ - + - \dots If the result is divisible by 11 (this includes 00, 1111, −11-11, 2222), the number is divisible by 11.
82,918:8−1+9−2+8=22⇒82,918 is divisible by 1182{,}918: \quad 8 - 1 + 9 - 2 + 8 = 22 \Rightarrow 82{,}918 \text{ is divisible by } 11

Try it now

Which pair of tests together proves that a number is divisible by 1212?

Worked Examples

Is 71287128 divisible by 1212?
1

Split 12 into coprime factors

12=3×412 = 3 \times 4, and 3 and 4 have no common factor except 1 → Test 3 and 4
2

Test 3 with the digit sum

7+1+2+8=187 + 1 + 2 + 8 = 18, and 1818 is divisible by 3
3

Test 4 with the last two digits

The last two digits form 2828, and 28÷4=728 \div 4 = 7 → Divisible by 4
4

Combine and check

Both tests pass, so 12 divides it: 7128÷12=5947128 \div 12 = 594 → Divisible by 12

Common Mistakes

Testing 12 with the rules for 2 and 6

Why it's wrong: 2 and 6 share the factor 2, so passing both only proves divisibility by 6. Counterexample: 1818 (and also 3030) is divisible by 2 and 6 but not by 12.

Correct: Use coprime factors: 12=3×412 = 3 \times 4. Check the digit sum for 3 and the last two digits for 4.

Testing 36 with 3 and 12

Why it's wrong: 3 and 12 share the factor 3. 2424 is divisible by 3 and by 12, but 24÷3624 \div 36 is not a whole number.

Correct: Use 36=4×936 = 4 \times 9: last two digits divisible by 4 and digit sum divisible by 9.

Thinking one passed test is enough

Why it's wrong: A combined rule needs BOTH tests. 2525 ends in 5 but its digit sum is 7, so it is not divisible by 15.

Correct: Check every factor of the pair. If one test fails, the number is not divisible by the product.

Reading an alternating sum of 00 or −11-11 as not divisible by 11

Why it's wrong: 00, −11-11 and −22-22 are multiples of 11 too. For 91749174: 4−7+1−9=−114 - 7 + 1 - 9 = -11, and indeed 9174=11×8349174 = 11 \times 834.

Correct: The number is divisible by 11 whenever the alternating sum is 00 or any multiple of 11, positive or negative.

Interactive Visual

Guess first: which of 2 to 12 divide each number? Then check every rule

0 of 0 right
3960

For 2: look at the last digit.

Pick a divisor, guess yes or no, then see the rule.

Is 3960 divisible by 2?

For 2: look at the last digit.

A 12-digit number: the rules work where a calculator runs out of digits

123456789012

For 2: look at the last digit.

Tap a divisor to see its rule on this number.

Is 123,456,789,012 divisible by 2?

The last digit is 2. It is even (0, 2, 4, 6 or 8).

123,456,789,012 is divisible by 2.

Check with division: 123,456,789,012 ÷ 2 = 61,728,394,506

Interactive Sandbox

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

18 problems
Problem 1 of 18
Easy
Which pair of tests together proves that a number is divisible by 1212?

Why It Matters

Combined rules turn big questions into two quick checks:
  • Sharing equally: can 1350 stickers go to 15 classes with none left over? Two checks say yes.
  • Timetables: a day has 1440 minutes, so a tram every 36 minutes fits the day exactly if 1440 is divisible by 36.
  • Fractions: spotting that 12 or 18 divides the top and the bottom simplifies a fraction in one step.
  • Huge numbers: a 12-digit number can be tested for 11 or 12 in seconds, even where a calculator shows too few digits.
The idea behind every combined rule, coprime factors, is also the key to the least common multiple and to many puzzles with missing digits.

Real World Applications

Sharing Equally

Teachers, coaches and organizers often need to know whether items can be shared out with nothing left over.

Example:

A school has 1350 stickers for 15 classes. 15=3×515 = 3 \times 5: the last digit is 0 (divisible by 5) and 1+3+5+0=91 + 3 + 5 + 0 = 9 (divisible by 3). So the stickers can be shared equally.

1Try It Yourself

A school wants to give 1350 stickers to 15 classes, the same number to each class.

How many stickers does each class get?

Step 1: Write the mathematical expression

Write the division that gives the stickers per class:

Timetables

Transport planners want departures that repeat in the same pattern every day. A day has $24 \times 60 = 1440$ minutes.

Example:

A bus every 12 minutes fits a day exactly: 1+4+4+0=91 + 4 + 4 + 0 = 9 (divisible by 3) and 40÷4=1040 \div 4 = 10, so 1440 is divisible by 12, giving 120 departures.

2Try It Yourself

A tram leaves every 36 minutes, all day and all night, starting at midnight.

How many trams leave in one day of 1440 minutes?

Step 1: Write the mathematical expression

Write the division that gives the number of departures:

The 12-Digit Check

Many calculators show only 8 to 10 digits, so they cannot divide a 12-digit number exactly. Divisibility rules work on numbers of any length.

Example:

For 123,456,789,012123{,}456{,}789{,}012 the digit sum is 4848 (divisible by 3) and the last two digits form 1212 (divisible by 4), so the number is divisible by 12.

3Try It Yourself

A 12-digit code is 123,456,789,012123{,}456{,}789{,}012. You want to know if it is divisible by 12 and by 11, without a calculator.

What is the remainder when 123,456,789,012123{,}456{,}789{,}012 is divided by 12?

Step 1: Write the mathematical expression

Enter the remainder:

Key Takeaways

  • 1If aa and bb are coprime, a number divisible by both aa and bb is divisible by a×ba \times b
  • 2Test 12 with 3 and 4, 15 with 3 and 5, 18 with 2 and 9, 36 with 4 and 9
  • 3Never test a product with two factors that share a factor: 18 is divisible by 2 and 6 but not by 12
  • 4Divisible by 11: the alternating sum of the digits (+−+−…+ - + - \dots from the ones digit) is a multiple of 11, including 00 and negative multiples
  • 5For a quick factor search, use last-digit tests, digit sums and the alternating sum, then combine coprime pairs
  • 6For a missing digit under two rules, list the digits that pass each rule and keep the ones in both lists

Frequently Asked Questions

A number divisible by aa and by bb is a common multiple of aa and bb, so it is divisible by lcm(a,b)\text{lcm}(a, b). When aa and bb are coprime, lcm(a,b)=a×b\text{lcm}(a, b) = a \times b. When they share a factor, the lcm is smaller: lcm(2,6)=6\text{lcm}(2, 6) = 6, not 12.
A number divisible by aa and by bb is a common multiple of aa and bb, so it is divisible by lcm(a,b)\text{lcm}(a, b). When aa and bb are coprime, lcm(a,b)=a×b\text{lcm}(a, b) = a \times b. When they share a factor, the lcm is smaller: lcm(2,6)=6\text{lcm}(2, 6) = 6, not 12.
10=11−110 = 11 - 1, so 10 leaves the remainder −1-1 when divided by 11, 100=99+1100 = 99 + 1 leaves +1+1, 1000=1001−11000 = 1001 - 1 leaves −1-1, and so on. So each digit counts with the sign +,−,+,−,…+, -, +, -, \dots from the ones digit, and the number has the same remainder as its alternating sum.
For the yes or no answer it does not: the two results are equal or opposite numbers, and −22-22 is a multiple of 11 exactly when 2222 is. Starting at the ones digit with ++ also keeps the remainder of the number (add or subtract 11 until you land between 0 and 10), so it is the safer habit.
No, 4 and 6 share the factor 2. 1212 is divisible by 4 and 6 but not by 24. Use the coprime pair 24=3×824 = 3 \times 8: digit sum divisible by 3 and last three digits divisible by 8.

Glossary

Coprime
Two numbers are coprime if their only common factor is 1. Example: 4 and 9 are coprime, 2 and 6 are not.
Combined divisibility rule
A test for a product a×ba \times b of coprime numbers: the number must pass the test for aa and the test for bb.
Alternating sum
The digits added and subtracted in turn from the ones digit: for 2816 it is 6−1+8−2=116 - 1 + 8 - 2 = 11.
Digit sum
The sum of all digits of a number. The digit sum of 1980 is 1+9+8+0=181 + 9 + 8 + 0 = 18.
Remainder
What is left over after dividing. 18÷12=118 \div 12 = 1 remainder 66.
Least common multiple (lcm)
The smallest number that is a multiple of both numbers. lcm(3,4)=12\text{lcm}(3, 4) = 12, lcm(2,6)=6\text{lcm}(2, 6) = 6.

Formula Card

Combined rule

a,ba, b coprime: a∣na \mid n and b∣n⇒a×b∣nb \mid n \Rightarrow a \times b \mid n

Works only when the two factors share no factor except 1

Divisible by 12

12=3×412 = 3 \times 4

Digit sum divisible by 3 and last two digits divisible by 4

Divisible by 15

15=3×515 = 3 \times 5

Digit sum divisible by 3 and last digit 0 or 5

Divisible by 18

18=2×918 = 2 \times 9

Last digit even and digit sum divisible by 9

Divisible by 36

36=4×936 = 4 \times 9

Last two digits divisible by 4 and digit sum divisible by 9

Divisible by 11

d0−d1+d2−d3+…d_0 - d_1 + d_2 - d_3 + \dots

Alternating sum from the ones digit is a multiple of 11 (including 0)

Today's challengeOne problem, three tries

More in This Topic