2025 AMC 12B Problem 23

Attempt Problem 23 of the 2025 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 2025 AMC 12B solutions, or check the answer key.

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

23.

Let SS be the set of all integers z>1z \gt 1 such that for all pairs of nonnegative integers (x,y)(x, y) with x<y<z,x \lt y \lt z, the remainder when 2025x2025x is divided by zz is less than the remainder when 2025y2025y is divided by z.z. What is the sum of the elements of S?S?
30413041
35423542
37503750
40444044
43194319
Answer: E
Concepts:modular arithmeticdivisibilitysum of factors
Small hint:
The condition says the map k↦2025k mod zk \mapsto 2025k \bmod z is strictly increasing on 0,1,…,z−10, 1, \ldots, z-1
Big hint:
An increasing rearrangement of 0,1,…,z−10, 1, \ldots, z-1 starting at 00 must be the identity, forcing 2025≡1(modz)2025 \equiv 1 \pmod z
Solution:
The condition requires k↦2025k mod zk \mapsto 2025k \bmod z to be strictly increasing on {0,1,…,z−1}.\{0, 1, \ldots, z-1\}. A strictly increasing list of zz distinct values in [0,z−1][0, z-1] must be 0,1,…,z−1,0, 1, \ldots, z-1, so 2025≡1(modz),2025 \equiv 1 \pmod z, i.e. 20242024 is divisible by z.z. Since 2024=23⋅11⋅23,2024 = 2^3 \cdot 11 \cdot 23, the sum of all its divisors is (1+2+4+8)(1+11)(1+23)(1+2+4+8)(1+11)(1+23) =15⋅12⋅24= 15 \cdot 12 \cdot 24 =4320.= 4320. Excluding z=1z = 1 leaves 4319.4319.
Thus, the correct answer is E.
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.