2025 AMC 12B Problem 23

Below is the professionally curated solution for Problem 23 of the 2025 AMC 12B, 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 of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:modular arithmeticdivisibilitysum of factors

Difficulty rating: 2380

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

Solution:

The condition requires k2025kmodzk \mapsto 2025k \bmod z to be strictly increasing on {0,1,,z1}.\{0, 1, \ldots, z-1\}. A strictly increasing list of zz distinct values in [0,z1][0, z-1] must be 0,1,,z1,0, 1, \ldots, z-1, so 20251(modz),2025 \equiv 1 \pmod z, i.e. z2024.z \mid 2024. Since 2024=231123,2024 = 2^3 \cdot 11 \cdot 23, the sum of all its divisors is (1+2+4+8)(1+11)(1+23)=151224=4320.(1+2+4+8)(1+11)(1+23) = 15 \cdot 12 \cdot 24 = 4320. Excluding z=1z = 1 leaves 4319.4319.

Thus, the correct answer is E.

Problem 23 in Other Years