Divisibility Rules Checker
Type any whole number to see at a glance which numbers from 2 to 20 divide it, and open any divisor to see its rule applied step by step.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Enter a number
Type any whole number or press Random.
- 2Scan the grid
See which divisors from 2 to 20 work.
- 3Open a divisor
Tap a box to see its rule and steps.
- 4Check prime factors
Read the factorisation for numbers up to 12 digits.
- 5Learn the rules
Open the rules table with an example for each.
- 6Practise
Answer quiz questions and print a worksheet.
Sobre aquesta eina
Divisibility rules let you tell whether one number divides another without doing the division. They are taught from primary school, where students learn the tests for 2, 5 and 10, through to secondary school, where the rules for 7, 11 and 13 appear in competitions. They are also the fastest way to start factorising a number or simplifying a fraction. This checker applies the proper rule for every divisor from 2 to 20 to any whole number up to 60 digits long, and shows the working rather than just yes or no. Tap a divisor to see its rule and steps: the digit sum for 3 and 9, the last two, three or four digits for 4, 8 and 16, the alternating sum for 11, the repeated subtract-twice-the-last-digit trick for 7, and combined tests such as 2 and 3 for 6. A grid shows all results at once, a table lists the working for each divisor, and for numbers up to twelve digits the prime factorisation is shown too. A practice quiz asks yes-or-no and missing-digit questions with explanations.
The rules at a glance
2: last digit even. 3: digit sum divisible by 3. 4: last two digits divisible by 4. 5: last digit 0 or 5. 6: divisible by 2 and 3. 7: double the last digit and subtract it from the rest, and repeat. 8: last three digits divisible by 8. 9: digit sum divisible by 9. 10: last digit 0. 11: alternating sum of digits divisible by 11. 12: divisible by 3 and 4. 13: add four times the last digit to the rest, and repeat. 14: by 2 and 7. 15: by 3 and 5. 16: last four digits divisible by 16. 17: subtract five times the last digit from the rest. 18: by 2 and 9. 19: add twice the last digit to the rest. 20: last two digits are 00, 20, 40, 60 or 80.
Why the rules work
Rules for 2, 4, 8, 16, 5 and 10 work because 10, 100, 1000 and 10000 are multiples of those numbers, so only the last digits matter. The digit-sum rules work because 10 leaves remainder 1 when divided by 3 or 9. The alternating rule for 11 works because 10 leaves remainder −1 when divided by 11. The rules for 7, 13, 17 and 19 are osculator rules: each step changes the number into a smaller one that is divisible by the same prime if and only if the original was.
Checking the rules
Every result also shows the remainder from direct division, so students can see that the rule and the division agree. The tests behind the tool check every rule against division for many numbers, including very long ones.
Worked example
Is 3836 divisible by 7? Double the last digit (6 × 2 = 12) and subtract from the rest: 383 − 12 = 371. Repeat: 37 − 2 = 35, and 35 = 5 × 7, so yes. For 11, the alternating sum from the right is 6 − 3 + 8 − 3 = 8, not a multiple of 11, so no. The prime factorisation is 2² × 7 × 137.
Limits
Numbers can be up to 60 digits; prime factorisation is shown for numbers up to 12 digits because longer numbers can take too long in a browser. Negative numbers are treated by their size. The rules for 7, 13, 17 and 19 are slower by hand than ordinary division for small numbers; they are most useful for practice and for big numbers.
Exemple resolt
3836 ÷ 7: 383 − 12 = 371, 37 − 2 = 35 → divisible; alternating sum for 11 = 8 → not divisible.
En resum
- Categoria: Estudi i educació
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: Wolfram MathWorld: Divisibility Tests
Preguntes freqüents
What is the divisibility rule for 7?
Double the last digit and subtract it from the number formed by the other digits. Repeat until the number is small; if it is divisible by 7, so was the original.
How do I check divisibility by 11?
Add and subtract the digits alternately from the right. If the result is 0 or a multiple of 11, the number is divisible by 11.
Why does the digit sum test work for 3 and 9?
Because 10, 100, 1000 and so on all leave remainder 1 when divided by 3 or 9, so a number leaves the same remainder as its digit sum.
What is the rule for 12?
A number is divisible by 12 when it is divisible by both 3 and 4, because 3 and 4 have no common factor and 3 × 4 = 12.
Can it handle very large numbers?
Yes, up to 60 digits for the rules. Prime factors are shown up to 12 digits.
Is there a quiz?
Yes. The Practice tab asks whether numbers are divisible, which digit makes a number divisible by 3 or 9, and which rule applies.
