TITLE: Question on $(2, 1+\sqrt{-5})$ as a submodule of $\mathbb{Z}[\sqrt{-5}]$.
QUESTION [6 upvotes]: Let $R$ be the ring $\mathbb{Z}[\sqrt{-5}]$ and $I$ the ideal generated by $2$ and $1+\sqrt{-5}$, $I=(2, 1+\sqrt{-5})$.
Show that $I$ is not R-module isomorphic to $R$ but $I\bigoplus I$ is R-module isomorphic to $R^2$.

My attempt thus far:
It can be shown that $I$ is not principal, and thus not generated by a single element. Since $R$ is generated by $1$, if there were an isomorphism $\phi: R \rightarrow I$, $\phi(1)$ must generate $I$. By contradiction, $I$ cannot be isomorphic to $R$.
However, I am unable to prove the second part of the question. I see that $R^2$ has rank 2, so if we can find a basis for $I\bigoplus I$, say $(x,y)$, then there is a direct isomorphism $\phi: R^2 \rightarrow I \bigoplus I$, $\phi(1,0)=x$, $\phi(0,1)=y$. However, it's not immediately obvious to me what I should take as the basis for $I\bigoplus I$; is there a nonconstructive way of showing the two modules are isomorphic?

REPLY [2 votes]: Here's another approach using results about modules over a Dedekind domain.
An intermediate result in the fundamental theorem of finitely generated modules over a Dedekind domain $R$ is that $I \oplus J \cong R \oplus IJ$ for any nonzero ideals $I, J \trianglelefteq R$. Cf., Dummit and Foote, $\S16.3$, Proposition $21$ (p. 769).
Thus $I \oplus I \cong R \oplus I^2$, so it suffices to show that $I^2$ is principal. Multiplying the generators in pairs, we find
$$
I^2 = (2, 1 + \sqrt{-5})^2 = (4, 2 + 2\sqrt{-5}, -4 + 2 \sqrt{-5}) \subseteq (2)
$$
and since
$$
2 = 2 + 2 \sqrt{-5} - (4 + -4 + 2 \sqrt{-5}) \in (4, 2 + 2\sqrt{-5}, -4 + 2 \sqrt{-5}),
$$
then we have equality: $I^2 = (2)$.