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.

Let's define a new polynomial by $g(x)=f(x+2)$.  Then we are told $g(0)=3, g(5)=-5$ and $g$ will have integer roots if and only if $f$ does.  We can see that the constant term of $g$ is $3$.  Because the coefficients are integers, when we evaluate $g(5)$, we get terms that are multiples of $5$ plus the constant term $3$, so $g(5)$ must equal $3 \pmod 5$  Therefore there is no polynomial that meets the requirement.  As the antecedent is false, the implication is true.
This is an example of the statement that for all polynomials $p(x)$ with integer coefficients, $a,b \in \mathbb Z \implies (b-a) | p(b)-p(a)$
