Problem:
Suppose $f(x)$ is a polynomial with integer coefficients. If $f(a)=17$ for some integer $a$, show that $f(x)$ has at most $3$ integer roots.
I tried to solve this problem but ended up getting the result as a maximum of $4$ integer roots. Here's the method I used:
Assuming that the three integer roots are $\alpha$,$\beta$,$\gamma$
$f(\alpha) = f(\beta) = f(\gamma) = 0$
As $f(m) - f(n) = k * (m-n)$, where $m,n,k$ are integers
$f(17) - f(\alpha) = k * (17-\alpha) 17 - 0 = k * (17-\alpha)$
$(17-\alpha)$ can now be $-17 , -1 , 1 \text{ or } 17$
Thus $\alpha$ can be $34 , 18 , 16 \text{ or } 0$
Similarly $\beta$ and $\gamma$ can take any of the remaining values, leaving one last value for a fourth root.
Could anyone suggest any other methods or point out where exactly I went wrong?