Have problem in understanding logic given elsewhere on an old MSE post's answer.
Let $p(x)$ be a polynomial with integer coefficients satisfying that $p(0)$ and $p(1)$ having odd values. Show that polynomial $p(x)$ has no integer zeros.
Given the polynomial expression $f(x)−f(y)$, it is always divisible by $x−y$ because $x^r−y^r=(x−y)(x^{r−1}+x^{r−2}y+⋯+xy^{r−2}+y^{r−1})$.
Can consider the following cases:
$x=n, y=0 : n \mid (f(n)−f(0))$, &
$x = n, y=1 : (n-1) \mid(f(n)−f(1))$.
Subtracting 1 from 2, get: $−1 \mid(f(0) - f(1))$.
Issue : It is given that $-1$ is divisible by both $n$ and $n−1$.
Can I interpret it as : $-1$ is a linear combination of $n$ and $n-1$, and as they are consecutive numbers, so the $\gcd$ is anyway $1$. Obviously, $-1$ is a multiple of $\gcd=1$, and hence proved.