How do we prove that $f(x)$ has no integer roots, if $f(x)$ is a polynomial with integer coefficients and $f( 2)= 3$ and $f(7) = -5$? I've been thinking and trying to solve this problem for quite sometime ( like a month or so ), but haven't achieved any success so far, so I finally decided to post it here.
Here is my problem:

If $f(x)$ is a polynomial with integer coefficients and $f( 2)= 3$ and  $f(7) = -5$ then prove that $f(x)$ has no integer roots.

All I can think is that if we want to prove

*

*that if $f( x)$ has no integer roots, then by the integer root theorem its coefficient of highest power will not be equal to 1, but how can I use this fact ( that I don't know)?


*How to make use of given data that $f( 2)= 3$ and  $f(7) = -5$?


*Assuming $f(x)$ to be a polynomial of degree $n$ and replacing $x$ with $2$ and $7$ and trying to make use of given data creates only mess.
Now, if someone could tell me how to approach these types of problems other than giving a few hints on how to solve this particular problem , I would greatly appreciate his/her help.

The excellent answer of @N. S. makes it seem that the solution is really a matter of even and odd. Look at the supposed polynomial $f$ modulo $2$ and you see that $f(0)\equiv1\pmod2$ and $f(1)\equiv1\pmod2$, so that the polynomial always takes odd values at integers, and consequently has no integer roots. For a more elementary treatment, I’ll use the letter $e$ with subscripts to represent unspecified even numbers. Then since $f(2)=3$, $f(e_0)=f(2+e_1)=e_2+3$, odd, while $f(7)=-5$ shows that $f(1+e_3)=f(7+e_4)=-5+e_5$, also odd.
