Given is a polynomial $f \in \mathbb Z [X]$, such that $2\nmid f(0)$ and $2\nmid f(1)$. Show:
(I) $f$ has no roots in $\mathbb Z$.
(II) If the leading coefficient of $f$ is odd, $f$ has no roots in $\mathbb Q$.
My idea:
$f=a_nX^n+a_{n-1}X^{n-1}+...+a_1X+a_0 \in \mathbb Z[X]$. I know that the constant term $a_0$ exists, because of $2 \nmid f(0)$.
(I) $2\nmid f(0)$ leads to $2 \nmid a_0$, which means, that $a_0$ is odd. $2\nmid f(1)$ leads to $a_n+...+a_0$ is odd. Now I can conclude, that $a_n+...+a_1$ is even, so $2 \mid a_n+...+a_1$. But now I don't know how to go on.
I thought about assuming, that f has at least one root, i.e. $z$. Than $f$ factors into $f(X)=g(X)\cdot(X-z)$, where $g \in \mathbb Z [X]$ with $\mbox{deg}(g)+1= \mbox{deg}(f)$. Since $a_0$ is odd, $z$ and the constant term of $g$ are also odd.