51.5k views
1 vote
What is the remainder of 10^2017 divided by 1001?

This probably incorporates some number theory, which I'm not good at. RIP

1 Answer

2 votes
Note: When I use the double equal sign, I mean the triple bar used with modular arithmetic

10^3 = 1000 == -1 (mod 1001)
10^3 == -1 (mod 1001)
(10^3)^672 == (-1)^672 (mod 1001)
(10^(3*672) == 1 (mod 1001)
10^2016 == 1 (mod 1001)
10*10^2016 == 10*1 (mod 1001)
10^2017 == 10 (mod 1001)

Final Answer: 10


User Kevin Horgan
by
7.0k points