Any number …dcba is a sum of place values: … + 1000d + 100c + 10b + a (in 4075, d = 4, c = 0, b = 7, a = 5).
10, 5 and 2. Every place value except units is a multiple of 10, so of 5 and of 2 too. Only the units digit a decides: divisible by 10 if a = 0, by 5 if a is 0 or 5, by 2 if a is even.
4 and 8. 100 = 4 × 25, so every place from hundreds up is a multiple of 4: only the last two digits decide. 1000 = 8 × 125, so for 8 only the last three digits decide.
9. 999, 909, 900, 90 and 990 are all divisible by 9: each place holds 9 × (place value) or 0. Any number written with only 0s and 9s (like 99009) is a multiple of 9. But the units digit alone can't decide: 99 is a multiple of 9, 109 is not.
The key: 10 = 9 + 1, 100 = 99 + 1, 1000 = 999 + 1, … Each place value is 1 more than a multiple of 9. So each digit is the remainder its place leaves: 50 leaves 5 (the number of tens), 300 leaves 3 (the number of hundreds).
427 ÷ 9: 4 hundreds leave 4, 2 tens leave 2, and 7 units leave 7. 4 + 2 + 7 = 13 = 9 + 4, so the remainder is 4 (427 = 9 × 47 + 4).
7309 ÷ 9: 7 × (999 + 1) + 3 × (99 + 1) + 0 × (9 + 1) + 9 = (multiple of 9) + (7 + 3 + 0 + 9). 19 → 1 + 9 = 10 → 1 + 0 = 1. Remainder 1.
A number is divisible by 9 if and only if the sum of its digits is divisible by 9.
'If and only if' packs four true statements: divisible by 9 → digit sum divisible by 9; digit sum divisible → number divisible; number not divisible → digit sum not divisible; digit sum not divisible → number not divisible. The number and its digit sum always leave the same remainder.
So shuffling the digits of a multiple of 9 (reversing them, say) gives another multiple of 9: the digit sum does not change.
Tap the diagram to enlarge it
- Only the units digit matters for 2, 5, 10
- 10, 100, 1000 are 1 more than multiples of 9
- Divisible by 9 iff digit sum is