Number TheoryFoundation6 min read#divisibility#number theory#mental math

Divisibility Rules That Save Exam Time

Knowing why 3, 9, 11 and 7 work turns a memorised trick into a tool you can rebuild in ten seconds — including for bases and moduli nobody taught you.

Olympiad Desk · Core Learning

What you will take away

  • Digit rules come from 10 ≡ 1 (mod 3) and 10 ≡ −1 (mod 11)
  • Alternating digit sums test divisibility by 11
  • For 7 and 13, chunk the number and use 1001 = 7 · 11 · 13
  • Build a rule for any modulus by tracking 10^k mod m

Every digit rule is a consequence of how powers of ten behave modulo the divisor — which means you can derive a rule for any modulus you meet, instead of hoping one was taught.

  • mod 3 and mod 9: since 10 ≡ 1, the number ≡ its digit sum
  • mod 11: since 10 ≡ −1, the number ≡ its alternating digit sum
  • mod 7 and mod 13: since 1001 = 7 · 11 · 13, chunk digits into blocks of three and add with alternating signs

Worked problems

  1. 1

    Determine the digit d for which 5d34 is divisible by 9.

    Show hint

    Divisibility by 9 is a statement about the digit sum.

    Show solution

    The digit sum is 5 + d + 3 + 4 = 12 + d, which must be a multiple of 9. The only digit making 12 + d divisible by 9 is d = 6, giving 18.

    Answer: d = 6.

Keep going

More guides on the same idea, or the next step up.

All guides
Modular Arithmetic in Ten Minutes: Remainders That Solve Equations

Modular Arithmetic in Ten Minutes: Remainders That Solve Equations

Last digits, divisibility, and equations that look impossible — almost all of them collapse once you stop tracking numbers and start tracking remainders.

Number TheoryFoundation8 min read
The Pigeonhole Principle: Your First Move on Most Olympiad Problems

The Pigeonhole Principle: Your First Move on Most Olympiad Problems

If n+1 pigeons sleep in n holes, one hole is crowded — and that single sentence wins a shocking number of olympiad problems. Here is how to spot the pigeons hidden inside a statement.

CombinatoricsFoundation7 min read
Angle Chasing: Geometry When You Cannot See the Picture

Angle Chasing: Geometry When You Cannot See the Picture

Most olympiad geometry starts with a fact you already know from school. The skill is knowing which fact to apply next — and how to keep the chain short.

GeometryIntermediate9 min read
Invariants and Monovariants: Proving That Something Is Impossible

Invariants and Monovariants: Proving That Something Is Impossible

When a problem asks whether a configuration can ever be reached, stop simulating and start looking for a quantity that never changes — or always changes the same way.

CombinatoricsAdvanced10 min read