I'm having trouble trying to solve this problem.
Let $f \in \Bbb Z[x]$ such that there exist $a$, $b$, $c$ (all different) and $$f(a)=f(b)=f(c)=1.$$ Prove that there is no $d \in \Bbb Z$ such that $f(d)=0$.
I'm practicing for an exam.
I've tried setting a polynomial $g(x)=f(x)-1$ and factoring it as if it had three roots, but then I do not know how to continue.
Any suggestions?