Let $R=\mathbb{Z}[\sqrt{-5}]$ and $I=(2,1+\sqrt{-5})$ an ideal generated by $2$ and $1+\sqrt{-5}$. Show that $I$ is a maximal ideal.
So I tried to prove that if $a \notin I$ then $(I,a)$ must be the whole ring or the $I$ itself. That is, we can find a combination $ax+2y+(1+\sqrt{-5})z=1$ or $0$ for some $x,y,z \in \mathbb{Z}[\sqrt{-5}]$. Is my thought correct? How should I find such combination?