Let $I = \{ f(x)∈ \mathbb{Z}[x] | f(0) \text{ is an even integer}\}$
This is an ideal of the ring $R = \mathbb{Z}[x]$. Is it principal?
I have the definition of a principal ideal but I'm unsure if I've applied it properly.
If I choose $a = 2$, where $a$ is meant to generate $I$ (i.e. $I=aR$).
Is that enough to show that $I$ is a principal ideal?
The ideal is not the same as $2R$, because the polynomial $x$ belongs to $I$, but is not of the form $2g(x)$, for any $g(x)\in\mathbb{Z}[x]$.
Hint: this is not a principal ideal. Suppose $h(x)$ is a generator; then $2=h(x)p(x)$ and $x=h(x)q(x)$. Can you find a contradiction?