Show if $2$ and $1+\sqrt{-5}$ belong to the same principal ideal $I$ of $\mathbb{Z}[\sqrt{-5}]$ then $I=\mathbb{Z}[\sqrt{-5}]$.
I have proved so far that 2 and $1+\sqrt{-5}$ is irreducible and they are not associates.
Show if $2$ and $1+\sqrt{-5}$ belong to the same principal ideal $I$ of $\mathbb{Z}[\sqrt{-5}]$ then $I=\mathbb{Z}[\sqrt{-5}]$.
I have proved so far that 2 and $1+\sqrt{-5}$ is irreducible and they are not associates.
On
This answer uses the information, given in OP, that $2, 1 + \sqrt{-5}$ are irreducible elements that are not associated.
Suppose $I = (a)$. If $\{2, 1 + \sqrt{-5}\} \subset I $ then $a \mid 2$ and $a \mid 1 + \sqrt{-5}$. Thus as $2, 1 + \sqrt{-5}$ are irreducible:
Yet the second part would imply that $2$ and $1 + \sqrt{-5}$ are associated, which is not the case. So $a$ is a unit and you are done.
Note that this argument works for any two irreducible and non-associated elements in a domain. If a principle ideal $(a)$ contains two elements $b_1,b_2$ then $a \mid b_1$ and $a \mid b_2$. So, $a$ is a common divisor of $b_1$ and $b_2$. Yet, if $b_i$ is irreducible, then the only divisors are units and associates. Thus, if $b_1$ and $b_2$ are not assocaites, only units are left as common diviors.
On
I just thought that I would recast ajotatxe’s argument in a slightly different manner.
Assume that $2$ and $1+\sqrt{-5}$ are in an ideal generated by $a+b\sqrt{-5}$.
Let's start with the equation $$2=(a+b\sqrt{-5})(c+d\sqrt{-5})$$ take modules and square: $$4=(a^2+5b^2)(c^2+5d^2)$$
Now it is clear that $b=d=0$, and $a^2c^2=4$.
But, on the other hand, $$1+\sqrt{-5}=(a+b\sqrt{-5})(c'+d'\sqrt{-5})=ac'+ad'\sqrt{-5}$$
This yields: $$ac'=1$$ $$ad'=1$$
So $|a|=1$. and therefore, the generator of our ideal is $1$ or $-1$.