0 Members and 1 Guest are viewing this topic.
Very nice and simple proof. How about a slightly harder one. Why can you check divisibility by 3 or 9 by adding up all the digits of a number?
9^(2n) mod 10 = 1and 9^(2n-1) mod 10 = 9.It's the same thing with 2 - 2, 4, 8, 6, 2, 4, 8, 6, etc.
Because 9*9 = 81, and when you keep multiplying by 9, the last number will bounce between 9 and 1. So when the power is odd, it will be 9, when it's even it'll be 1.