Let a 4 digit number be abcd, so its value
= 1000a + 100b + 10c + d
= 999a + 99b + 9c + ( a + b + c + d).
999a is divisible by 3,
99b is divisible by 3,
9c is divisble by c and
a + b + c + d is divisible by 3.
So the number abcd is divisible by 3.
The same reasoning can apply to number with any digits.
2009-03-01 21:46:56 補充:
Using the same reasoning, if the sum of digits is divisible by 9, the number is divisible by 9
2009-03-01 21:48:46 補充:
Correction: 9c is divisible by 3, not only c.