2024 AMC 12B Problem 14

Attempt Problem 14 of the 2024 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2024 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

14.

How many different remainders can result when the 100100th power of an integer is divided by 125?125?
11
22
55
2525
125125
Answer: B
Concepts:Euler’s Totient Functionmodular exponentiation
Small hint:
Split into integers coprime to 55 and integers divisible by 55
Big hint:
Since φ(125)=100,\varphi(125) = 100, Euler’s theorem gives n100≡1(mod125)n^{100} \equiv 1 \pmod{125} when gcd⁡(n,5)=1;\gcd(n,5)=1; a multiple of 55 has n100n^{100} divisible by 125125
Solution:
If nn is coprime to 5,5, then since φ(125)=100,\varphi(125) = 100, Euler’s theorem gives n100≡1(mod125).n^{100} \equiv 1 \pmod{125}. If nn is a multiple of 5,5, then n100n^{100} is divisible by 5100,5^{100}, hence by 125,125, leaving remainder 0.0.
So the only possible remainders are 00 and 1,1, which is 22 distinct values.
Thus, the correct answer is B.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.