2005 AMC 12A Problem 24

Attempt Problem 24 of the 2005 AMC 12A 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 2005 AMC 12A solutions, or check the answer key.

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

24.

Let P(x)=(x−1)(x−2)(x−3).P(x) = (x - 1)(x - 2)(x - 3). For how many polynomials Q(x)Q(x) does there exist a polynomial R(x)R(x) of degree 33 such that P(Q(x))=P(x)⋅R(x)?P(Q(x)) = P(x) \cdot R(x)?
1919
2222
2424
2727
3232
Answer: B
Concepts:polynomialcasework
Small hint:
Compare degrees: P(Q(x))P(Q(x)) has degree 3deg⁡Q3\deg Q and P(x)R(x)P(x)R(x) has degree 6,6, so deg⁡Q=2\deg Q = 2
Big hint:
For x=1,2,3,x = 1, 2, 3, the right side is 0,0, so each of Q(1),Q(2),Q(3)Q(1), Q(2), Q(3) lies in {1,2,3};\{1, 2, 3\}; discard the triples giving degree less than 22
Solution:
Since P(x)R(x)P(x)R(x) has degree 66 and P(Q(x))P(Q(x)) has degree 3deg⁡Q,3\deg Q, we need deg⁡Q=2.\deg Q = 2. A quadratic QQ is determined by the ordered triple (Q(1),Q(2),Q(3)).(Q(1), Q(2), Q(3)).
At x=1,2,3x = 1, 2, 3 the right side vanishes, so P(Q(x))=0,P(Q(x)) = 0, forcing each of Q(1),Q(2),Q(3)Q(1), Q(2), Q(3) into {1,2,3}.\{1, 2, 3\}. That gives 2727 triples.
Five of them give a polynomial of degree less than 2:2: the constants from (1,1,1),(2,2,2),(3,3,3)(1,1,1), (2,2,2), (3,3,3) and the linear Q(x)=xQ(x) = x from (1,2,3)(1,2,3) and Q(x)=4−xQ(x) = 4 - x from (3,2,1).(3,2,1). The other 27−5=2227 - 5 = 22 triples are non-collinear and yield genuine quadratics.
Thus, the correct answer is B.
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.