2.5.1 · D5Number Theory (Intermediate)

Question bank — Divisibility rules — 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 (with proofs where possible)

1,440 words7 min readBack to topic

The whole engine underneath is one fact: a number is , and a divisibility rule just asks "what is congruent to, modulo ?" Keep that in mind and most traps collapse.


True or false — justify

If a number is divisible by both 4 and 9, it is divisible by 36.
True. , so by the Chinese Remainder Theorem the two conditions combine, and is exactly the product with no overlap.
If a number is divisible by both 4 and 6, it is divisible by 24.
False. , so they share a factor; the guaranteed divisor is , not . Example: passes both but is not divisible by 24.
The digit-sum rule works for 3 and 9 because modulo both.
True. Since and , every power of 10 becomes 1, so under both moduli — the same proof, two moduli.
The digit-sum rule also works for divisibility by 6.
False. It fails because (in fact ). Divisibility by 6 needs the separate 2-test and 3-test, not a single digit sum.
Reversing the digits of a number never changes whether it is divisible by 11.
True. The alternating sum only flips its overall sign when you reverse the digits, and are the same condition.
Reversing the digits never changes divisibility by 9.
True. The plain digit sum is unchanged by reordering digits, so divisibility by 3 and 9 is preserved under any permutation of digits.
If the alternating digit sum equals , the number is divisible by 11.
True. The rule asks whether the alternating sum is , and . Negative results count exactly like positive multiples.
Every number ending in 0 is divisible by both 2 and 5.
True. A last digit of 0 means , and since with coprime factors, it is under each.
A number divisible by 8 is automatically divisible by 4 and 2.
True. , so any multiple of 8 already contains the factors and ; divisibility runs downward through the powers.
A number divisible by 4 and by 2 must be divisible by 8.
False. already implies , so this is just "divisible by 4," which need not reach (e.g. ).

Spot the error

"12 is divisible by 6 because is divisible by 3."
The 3-test alone is not the 6-test. It happens 12 also has an even last digit, so the conclusion is right by luck; the stated reason is incomplete — you must cite the 2-test too.
"For 7, take and compute ; if divisible by 7 so is ."
Wrong sign. The proof multiplies by the inverse of 3 and uses , giving . Adding gives a valid but different test only if you also change the multiplier; the standard rule is subtract.
", so 11 uses a plain digit sum."
The congruence is wrong: , not . That minus sign is the whole reason 11 uses an alternating sum instead of a plain one.
"To test 11 for 2728, I did , divisible, done."
The alternating sum must start from the rightmost digit with a . Starting from the left can flip the sign — here it luckily still gives , but as a method it is unreliable; anchor the at .
", so the 8-rule only needs the last two digits."
, not 0. It is that vanishes mod 8, so the 8-rule needs the last three digits.
"Since , dividing by 25 also just checks the last digit."
No — for 25 you need , so the test is the last two digits. Each divisor demands the smallest power of 10 that vanishes under it.
": I stopped at and said not divisible by 7."
You stopped too early. Reapply the rule: , which is divisible by 7, so is divisible. Iterate until the number is small enough to recognise.

Why questions

Why does the 4-rule use exactly two digits while the 8-rule uses three?
Because divides but first divides . You need the smallest power of 10 that is under the divisor.
Why does divisibility by 3 depend only on the digit sum, ignoring digit order?
Each , so a digit contributes its own value regardless of position; the positional weights all collapse to 1, leaving only the sum.
Why is there no simple last-digit rule for 7, unlike 2 or 5?
Because is invertible mod 7 (, never ), so no power of 10 vanishes. The digit information cannot be discarded, forcing a linear-combination trick instead.
Why does the 11-rule create alternating signs?
Because , so : even positions give , odd positions give , producing the alternating pattern automatically.
Why can we combine the 2-test and 3-test to test 6, but not the 2-test and 4-test to test 8?
Because and are coprime so their CRT product is , but and share the factor 2, so their combined guarantee is only , not .
Why does "Casting Out Nines" work as an arithmetic check?
Because every number is congruent to its digit sum mod 9, so checking a sum or product mod 9 must match on both sides — a mismatch exposes an error.
Why does subtracting twice the last digit (not once) fix the 7-rule?
Because we multiply by (the inverse of 3 mod 7) and use ; the coefficient comes directly from that specific modular inverse.

Edge cases

Is 0 divisible by 7 (and by every other number)?
Yes. , and for every ; zero is divisible by all positive integers by definition.
For a single-digit number like 5, what is its "alternating sum" for the 11-test?
Just the digit itself, . There are no other digits to alternate with, and , so 5 is not divisible by 11 — correctly.
If the digit sum is 0 (as in the number 0), is the 9-test satisfied?
Yes, since is divisible by 9. But this only occurs for the number 0; ordinary positive numbers have positive digit sums.
Does the 7-rule ever loop forever or fail to terminate?
No. Each step replaces with the strictly smaller once the number exceeds a couple of digits, so it always shrinks to a recognisable small value.
What happens to the 11-rule if the alternating sum comes out negative, like ?
It still counts: , so the number is divisible by 11. Only the residue mod 11 matters, not the sign.
Can a number pass the 3-test but fail the 9-test?
Yes. Digit sum 12 is divisible by 3 but not 9, so the number is divisible by 3 only. The 9-test is strictly stronger since is a multiple of .

Recall One sentence to carry away

Answer ::: Every rule is the single question "what is modulo ?" — memorise the residue ( for 2/5/10 and their powers, for 3/9, for 11, for 7) and the rule builds itself.