Prove that certain elements are not in some ideal I have the following question:
Is there a simple way to prove that
$x+1 \notin \langle2, x^2+1\rangle_{\mathbb{Z}[x]}$ and
$x-1 \notin \langle2, x^2+1\rangle_{\mathbb{Z}[x]}$
without using the fact that $\mathbb{Z}[x]/\langle2, x^2+1\rangle$ is an integral domain?
Thanks for the help.

$x-1 \in I \implies x-1=2p+q(x^2+1) \implies q=0$ (reasoning on degree) so that you have $x-1=2p$ which is clearly impossible.
