How many different remainders can result when the 100th power of an integer is divided by 125?
AMC 10 B
Pick one
Solution
Write for , or . If , then and is divisible by , so the remainder is . If , or , then for some integer . Now use the Binomial Theorem:
Let be the number of positive integers less than that are relatively prime to ; this is Euler's totient function. Then . By Euler's Totient Theorem, if is not a multiple of , then . If is a multiple of , then . Therefore there are only possible remainders: and .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.