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
Difficulty rating: 1890
Solution:

Work modulo n+2,n + 2, where n2.n \equiv -2. Then 3(n+3)(n2+9)31(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.

← Problem 1#1
Full Exam

Problem 2 in Other Years