Why is $(2, 1+\sqrt{-5})$ not principal in $\mathbb{Z}[\sqrt{-5}]$?
Say $(2,1+\sqrt{-5})=(\alpha)$, then since $2\in(2,1+\sqrt{-5})$ we have $2\in (\alpha)$, so $\alpha\mid2$ in $\mathbb Z[\sqrt{-5}]$. Writing $2=\alpha\beta$ in $\mathbb Z[\sqrt{-5}]$ and taking norms, $4=N(\alpha)N(\beta)$ in $\mathbb Z$, so $N(\alpha)\mid4$ in $\mathbb Z$. Similarly, since $\sqrt{-5}\in(\alpha)$ we get $N(\alpha)\mid5$, thus $N(\alpha)$ is a common divisor of $4$ and $5$, therefore $N(\alpha)=(1)$, so $\alpha$ is a unit. But that means $1\in (2,1+\sqrt{-5})=(\alpha)$, so it must be the whole ring, but it cannot to reach a contradiction, so how can I find an element, which is not in $(2, 1+\sqrt{-5})$.
Or is there a simpler method ? (Maybe not UFD would imply not PID)
First if the ideal $(2, 1+\sqrt{-5})$ were principal, generated by $\alpha$, $N(\alpha)$ would divide $N(2)=4$ and $N(1+\sqrt{-5})=6$, hence would divide $\operatorname{gcd}(4,6)=2$. There is no element with norm $2$, hence $N(\alpha)=1$, which means $\alpha$ would be a unit; in other words, we would have $$(2, 1+\sqrt{-5})=\mathbf Z[\sqrt{-5}].$$
Now $\mathbf Z[\sqrt{-5}]\simeq \mathbf Z[x]/(x^2+5)$. Hence
\begin{align*}\mathbf Z[\sqrt{-5}]/(2, 1+\sqrt{-5})&\simeq \mathbf Z[x]/(2,x+1,x^2+5)\simeq \mathbf Z_2[x]/(x+1,x^2+1)\\ &=\mathbf Z_2[x]/\bigl(x+1,(x+1)^2\bigr)=\mathbf Z_2[x]/(x+1)\simeq\mathbf Z_2. \end{align*}