Problem 1111: (2005 AMC 12a, 24)
Let $P(x) = (x - 1)(x - 2)(x - 3)$. For how many polynomials $Q(x)$ does there exist a polynomial $R(x)$ of degree $3$ such that $P(Q(x)) = P(x) \cdot R(x)$?
$\textbf{(A)}\ 19$ $\textbf{(B)}\ 22$ $\textbf{(C)}\ 24$ $\textbf{(D)}\ 27$ $\textbf{(E)}\ 32$
- $P(Q(x))$ has degree $6$, so $Q$ has degree $2$. Since $1,2,3$ are distinct, $P(x)$ divides $P(Q(x))$ exactly when $P(Q(x))=0$ at $x=1,2,3$, i.e.\ when $Q$ maps $\{1,2,3\}$ into $\{1,2,3\}$.
- Each of the $3^3=27$ maps is given by a unique polynomial of degree at most $2$ (a parabola, line, or constant through three given points); we exclude those of degree less than $2$: the $3$ constants and the linear ones $x$ and $4-x$.
- $27-5=22$. The answer is (B).
Let $P(x)=(x-1)(x-2)(x-3)(x-4)$. For how many polynomials $Q(x)$ of degree $2$ is there a polynomial $R(x)$ with $P(Q(x))=P(x)\cdot R(x)$?