I am looking for a bit of help on part of this problem.
Let $R = \mathbb{Z}\lbrack X \rbrack$. For each prime $p \in \mathbb{Z}$, let $I_p$ denote the ideal of $R$ generated by $p$ and $X^2+1$.
(a) Is $I_2$ a prime ideal of $R$? What are the ideals of $R$ containing $I_2$?
(b) Is $I_3$ a prime ideal of $R$? What are the ideals of $R$ containing $I_3$?
For (b):
Consider the quotient ring $R/I_3$. This ring is isomorphic to $\mathbb{Z}_3 \lbrack X\rbrack / (X^2+1)$. For all values $m \in \mathbb{Z}_3$, $(m^2 + 1)$ is not congruent to 0 mod 3, hence $X^2 + 1$ is irreducible in $\mathbb{Z}_3 \lbrack X \rbrack$. Since $\mathbb{Z}_3$ is a field, $\mathbb{Z}_3\lbrack x \rbrack$ is a PID, $(X^2+1)$ is a maximal ideal, hence it is also prime. Since it is maximal, $\mathbb{Z}_3/(X^2+1)$ is a field, so $(3,X^2+1)$ is a maximal ideal of $R$, and hence it is prime. Since $I_2$ is maximal, there are no other proper ideals which contain it.
For (a), I am not sure what to do. In $\mathbb{Z}_2$, $(X^2+1) = (X+1)(X+1)$, both of which aren't in the ideal $(2,X^2+1)$, so the ideal is not prime. However, I'm not sure how to find an ideal which contains $I_2$. I'm also not sure how to rigorously show that $(X+1) \notin I_3$. I would appreciate any help.