Question
Question: The remainder, when $7^{103}$ is divided by 23, is equal to:...
The remainder, when 7103 is divided by 23, is equal to:
6
17
9
14
14
Solution
To find the remainder when 7103 is divided by 23, we can use Fermat's Little Theorem.
Fermat's Little Theorem states that if p is a prime number, then for any integer a not divisible by p, ap−1≡1(modp). In this case, p=23, so 722≡1(mod23).
We can write 103=22×4+15, so 7103=(722)4×715≡14×715≡715(mod23).
Now we need to compute 715(mod23). We can do this by finding a pattern: 71≡7(mod23) 72≡49≡3(mod23) 73≡72×7≡3×7=21(mod23) 74≡73×7≡21×7=147≡9(mod23) 75≡74×7≡9×7=63≡17(mod23) 76≡75×7≡17×7=119≡4(mod23) 77≡76×7≡4×7=28≡5(mod23) 78≡77×7≡5×7=35≡12(mod23) 79≡78×7≡12×7=84≡15(mod23) 710≡79×7≡15×7=105≡13(mod23) 711≡710×7≡13×7=91≡22≡−1(mod23)
Using 711≡−1(mod23), we can write 715=711×74≡(−1)×9≡−9(mod23). Since we want a positive remainder, −9≡23−9=14(mod23).
Therefore, the remainder is 14.