Wiemster
- 70
- 0
I stumbled upon this seamingle impossible question (without calculator!), any ideas to find the remainer of
\frac{11^{345678}}{13}?
\frac{11^{345678}}{13}?
CRGreathouse said:11^0 = 1 (mod 13)
11^1 = 11 (mod 13)
11^2 = 4 (mod 13)
11^3 = 5 (mod 13)
11^4 = 3 (mod 13)
11^5 = 7 (mod 13)
11^6 = 12 (mod 13)
11^7 = 2 (mod 13)
11^8 = 9 (mod 13)
11^9 = 8 (mod 13)
11^10 = 10 (mod 13)
11^11 = 6 (mod 13)
11^12 = 1 (mod 13)
11^13 = 11 (mod 13)
11^14 = 4 (mod 13)
. . .
where x = y (mod 13) means x = y + 13k for some integer k.
See how it 'loops around' at 11^0 = 11^12 = 1 (mod 13)? Can you see how this let's you solve the problem quickly?