2025 AIME II Problem 2

Attempt Problem 2 of the 2025 AIME II 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 AIME II solutions, or check the answer key.

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

2.

Find the sum of all positive integers nn such that n+2n + 2 divides the product 3(n+3)(n2+9).3(n + 3)(n^2 + 9).
Answer: 49
Concepts:modular arithmeticdivisibilityfactor
Small hint:
Modulo n+2,n + 2, the product 3(n+3)(n2+9)3(n+3)(n^2+9) is congruent to a constant: substitute n≡−2n \equiv -2
Big hint:
You need n+2n + 2 to divide 3⋅1⋅13=39,3 \cdot 1 \cdot 13 = 39, with n+2≥3n + 2 \ge 3
Solution:
Work modulo n+2,n + 2, where n≡−2.n \equiv -2. Then 3(n+3)(n2+9)≡3⋅1⋅(4+9)=39(modn+2), \begin{gathered} 3(n + 3)(n^2 + 9) \\ \equiv 3 \cdot 1 \cdot (4 + 9) \\ = 39 \pmod{n + 2}, \end{gathered} so n+2n + 2 divides 3(n+3)(n2+9)3(n+3)(n^2+9) exactly when n+2n + 2 divides 39.39.
The divisors of 3939 that are at least 33 are 3,3, 13,13, and 39,39, giving n=1,n = 1, 11,11, and 37.37. The sum is 1+11+37=49.1 + 11 + 37 = 49.
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.