2025 AMC 10B Problem 10

Below is the professionally curated solution for Problem 10 of the 2025 AMC 10B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2025 AMC 10B 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:polynomialfactoringdivisibility

Difficulty rating: 1510

10.

Let f(n)=n35n2+2n+8,f(n) = n^3 - 5n^2 + 2n + 8, and let g(n)=n36n2+5n+12.g(n) = n^3 - 6n^2 + 5n + 12. What is the sum of all integer values of nn for which f(n)g(n)\dfrac{f(n)}{g(n)} is also an integer?

22

33

44

55

66

Solution:

Factor both cubics: f(n)=(n+1)(n2)(n4)f(n) = (n + 1)(n - 2)(n - 4) and g(n)=(n+1)(n3)(n4).g(n) = (n + 1)(n - 3)(n - 4). Away from n{1,3,4},n \in \{-1, 3, 4\}, where gg vanishes or the ratio is 00,\tfrac{0}{0}, the common factors cancel and f(n)g(n)=n2n3=1+1n3.\dfrac{f(n)}{g(n)} = \dfrac{n - 2}{n - 3} = 1 + \dfrac{1}{n - 3}. That's an integer only when n3=±1,n - 3 = \pm 1, so n=2n = 2 or n=4.n = 4. But n=4n = 4 kills g,g, so only n=2n = 2 survives, and the sum is 2.2. Therefore, the answer is A.

Problem 10 in Other Years