Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Tools › Maths

Divisibility rules checker

Test a number against the rules for 2 to 12, with the reason for each.

Divisible by 2, 3, 4, 5, 6, 8, 10, 11, 12

  1. ✓ 2: last digit 0 is even
  2. ✓ 3: digit sum 21
  3. ✓ 4: last two digits 20
  4. ✓ 5: last digit 0
  5. ✓ 6: divisible by both 2 and 3?
  6. ✓ 8: last three digits 920
  7. ✗ 9: digit sum 21
  8. ✓ 10: last digit 0
  9. ✓ 11: alternating sum 11
  10. ✓ 12: divisible by both 3 and 4?

How it works

Each rule checks a pattern in the digits instead of dividing. They come from the fact that 10 leaves a remainder of 1 when divided by 3 or 9, and of −1 when divided by 11.

Worked example

With Whole number = 73920:

  1. ✓ 2: last digit 0 is even
  2. ✓ 3: digit sum 21
  3. ✓ 4: last two digits 20
  4. ✓ 5: last digit 0
  5. ✓ 6: divisible by both 2 and 3?
  6. ✓ 8: last three digits 920
  7. ✗ 9: digit sum 21
  8. ✓ 10: last digit 0
  9. ✓ 11: alternating sum 11
  10. ✓ 12: divisible by both 3 and 4?

Answer: Divisible by 2, 3, 4, 5, 6, 8, 10, 11, 12

Questions

Is there a rule for 7?
Double the last digit and subtract it from the rest: 343 → 34 − 6 = 28, which is divisible by 7, so 343 is too.

Learn the method properly

The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.

Open the chapter

More maths tools

  • Quadratic equation solver
  • LCM and HCF calculator
  • Fraction simplifier
  • Percentage calculator
  • Simple interest calculator
  • Compound interest calculator