A polynomial $p(x)$ is called self-centered if it has integer coefficients and $p(100) = 100.$ If $p(x)$ is a self-centered polynomial, what is the maximum number of integer solutions $k$ to the equation $p(k) = k^3$?
I am stuck, mainly because $p$ has to be an integer polynomial and the desired solutions must also be integers...
Suppose $S$ is the set of all $k$ that satisfy $p(k)=k^3$. Then we can write $$p(x)=x^3+\prod_{i\in S}(x-i)q(x)$$ But we also know that $p(100)=100$ so $$100-100^3=\prod_{i\in S}(100-i)q(100)$$ and since $100-100^3$ has $8$ prime factors (counting multiplicity), there can be at most $10$ integers in the product; thus the answer is $\fbox{10 }$ (which can be achieved by taking any ten such integers that work, and then making $q$ any appropriate polynomial.