From: Marta Aguiar, age 14, St Julian's School,
Carcavelos, Portugal
Can you solve this problem for me?
2 to the power of 1000 divided by 3 gives an answer
with what remainder?
Example: 7/4 has a remainder of 3
Dear Marta,
The way I solved this question was to start with small powers of 2,
and build upwards, to see if I could see a pattern. You should
realise that the answer certainly can't be 0 because
21000 has already been factorised into primes, and the
prime 3 isn't present (which is both a necessary and sufficient
condition for 3 to divide a number). If you try this method, you
should quickly spot a pattern, and hence make a conjecture on what
the answer should be.
To prove this, we need to use a little modular
arithmetic:
We say that a number x is congruent to 1 modulo 3 (written x = 1
mod 3 except that the equals sign should have three lines) if x
leaves a remainder 1 when divided by 3. This is equivalent to
saying x = 3p + 1 for some whole number p.
Then 2x = 2p × 3 + 2 = 2 mod 3. In other words if
2x is congruent to 1 mod 3, then 2x+1 is
congruent to 2 mod 3. You should be able to deal similarly with the
case where 2x is congruent to 2 mod 3 (i.e. work out
what 2x+1 is congruent to).
Now you can know three things: