Sub topic 2
Divisibility Rules for 2 to 13
Assume you know integer arithmetic, remainders, powers, and basic algebra. A number is divisible by another number when the division leaves remainder 0. Divisibility rules replace long division with a short test.
Core rules
| Divisor | Test |
|---|---|
| 2 | The last digit is 0, 2, 4, 6, or 8. |
| 3 | The sum of the digits is divisible by 3. |
| 4 | The last two digits form a number divisible by 4. |
| 5 | The last digit is 0 or 5. |
| 6 | The number is divisible by both 2 and 3. |
| 7 | Double the last digit and subtract it from the remaining number. Repeat if needed. |
| 8 | The last three digits form a number divisible by 8. |
| 9 | The sum of the digits is divisible by 9. |
| 10 | The last digit is 0. |
| 11 | The alternating sum of digits is divisible by 11. |
| 12 | The number is divisible by both 3 and 4. |
| 13 | Add four times the last digit to the remaining number. Repeat if needed. |
For 11, “alternating sum” means subtracting alternate digits. For 5,728, calculate \(5-7+2-8=-8\). Since \(-8\) is not divisible by 11, 5,728 is not divisible by 11.
Applying the rules
Consider 43,296:
- It is divisible by 2 because its last digit is 6.
- Its digit sum is \(4+3+2+9+6=24\), so it is divisible by 3.
- Its last two digits, 96, are divisible by 4.
- Therefore, it is divisible by 6 and 12.
- Its last three digits, 296, are divisible by 8, so the whole number is divisible by 8.
- Its digit sum is not a multiple of 9, so it is not divisible by 9.
The rules for 6 and 12 are combined rules. Testing only one condition is a common error.
The less familiar rules
For 7, test 2,037:
- Remove the last digit: 203.
- Double the removed digit: \(2 \times 7=14\).
- Subtract: \(203-14=189\).
- Since 189 is divisible by 7, 2,037 is divisible by 7.
For 13, test 286:
\[ 28+4(6)=52 \]
Because 52 is divisible by 13, 286 is divisible by 13.
These transformations preserve divisibility, but the resulting number may be negative. A negative multiple is still a multiple.
CAT strategy and errors
- Use the cheapest test first. The last-digit test is faster than a digit sum.
- For 12, test both 3 and 4.
- Do not confuse divisibility by 8 with divisibility by 4. The last three digits are needed for 8.
- A number divisible by 3 need not be divisible by 9.
- In options-based questions, eliminate choices using easy rules before calculating fully.
def divisible_by_7(n):
n = abs(n)
while n >= 10:
n, last = divmod(n, 10)
n -= 2 * last
return n % 7 == 0
print(divisible_by_7(2037)) # TrueExercise
Is 72,864 divisible by 8 and 12?
Show answer
Yes. Its last three digits, 864, are divisible by 8. Its digit sum is 27, so it is divisible by 3, and its last two digits, 64, are divisible by 4. Therefore, it is divisible by 12 as well.