2004 AMC 12B Problem 23

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

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

23.

The polynomial x3−2004x2+mx+nx^3 - 2004x^2 + mx + n has integer coefficients and three distinct positive zeros. Exactly one of these is an integer, and it is the sum of the other two. How many values of nn are possible?
250,000250{,}000
250,250250{,}250
250,500250{,}500
250,750250{,}750
251,000251{,}000
Answer: C
Concepts:Vieta’s Formulaspolynomialcounting integers in a range
Small hint:
The integer zero is the sum of the other two, which must be conjugates a2±r\dfrac{a}{2} \pm r
Big hint:
The integer zero is half of 2004,2004, so it is 1002;1002; then count valid r2r^2
Solution:
Let the integer zero be a.a. The other two zeros are irrational conjugates a2±r,\dfrac{a}{2} \pm r, whose sum aa equals the integer zero. Vieta’s formula on the x2x^2 coefficient gives a+a=2004,a + a = 2004, so a=1002a = 1002 and the conjugate pair is 501±r.501 \pm r.
The coefficients are integers exactly when r2r^2 is a positive integer, and the zeros are positive and distinct when 1≤r2≤5012−1=251,000.1 \le r^2 \le 501^2 - 1 = 251{,}000. Since rr cannot be an integer, we exclude the 500500 perfect-square values r2=12,…,5002,r^2 = 1^2, \ldots, 500^2, leaving 251,000−500=250,500251{,}000 - 500 = 250{,}500 values of n.n.
Thus, the correct answer is C.
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.