I am working on an exercise that asks us to consider the ring $R = \mathbb{Z}[\sqrt{-3}]$ and the ideal $I = (2, 1 + \sqrt{-3})$ in $R$. Part (a) asks to show that $I^2 = (2)I$ but $I \neq (2)$, and part (b) asks to show that $I$ is the unique prime ideal in $R$ containing $(2)$, and to then conclude that $(2)$ does not factor into prime ideals in $R$.
A previous exercise asked to show that $(2, 1 + \sqrt{-5})(2, 1 - \sqrt{-5}) = (2)$ in $\mathbb{Z}[\sqrt{-5}]$. Now $(2, 1 + \sqrt{-5}) = (2, 1 - \sqrt{-5})$, so then $(2) = (2, 1 + \sqrt{-5})^2$. But this should work in $R$ too, so then $I^2 = (2)$. But $I$ is prime, so then $(2)$ does factor into prime ideals in $R$. Where did I go wrong? Thanks.