Maths Olympiad Prep

Library / /5 of 20

Number theory Difficulty 3.7 AMC 10/12 Find the answer South Africa

What is the remainder when 220162^{2016} is divided by 1313?

A number or a short expression. Spacing and $ signs are ignored.

Solution

(We do this by inspection, by trying out some values until we can see the pattern.) Draw up a list of the remainders left by the powers of 22 after division by 1313:

nn0123456789101112
2nmod132^n \bmod 131248361211951071

We see that the remainders repeat every 1212 terms, since 2121(mod13)2^{12} \equiv 1 \pmod{13}.

Now, 2016÷12=1682016 \div 12 = 168 with remainder 00, so 2016=12×168+02016 = 12 \times 168 + 0.

Therefore,
22016201(mod13). 2^{2016} \equiv 2^0 \equiv 1 \pmod{13}.

So the remainder is 11.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.