I am trying to solve this exercise:
Prove that $\langle 2,\sqrt{10} \rangle$ is a prime ideal in $\mathbb Z[\sqrt{10}]$.
I could do the following:
I pick an element of the form $zw \in \langle 2,\sqrt{10} \rangle$.
If $z=a+b\sqrt{10},w=c+\sqrt{10}$ and I define for any element $z$ in the ring $\overline{z}=a-b\sqrt{10}$, then $zw\overline{zw}=(a^2-10b^2)(c^2-10d^2)$.
If $zw$ is in the ideal, then $$zw=(x_1+\sqrt{10}x_2)2+(y_1+y_2\sqrt{10})\sqrt{10}$$
So $$(a^2-10b^2)(c^2-10d^2)=(2x_1+10y_2)^2-10(2x_2+y_1)^2$$
Since the member of the right is even, so is $(a^2+10b^2)(c^2+10d^2)$, this implies $2$ divides one of the two factors. Suppose $2$ divides $(a^2+10b^2)$, then $2$ divides $a$. So we have $a+b\sqrt{10}=2a'+b\sqrt{10}$, this means $z$ is contained in the ideal. It follows $\langle 2,\sqrt 10 \rangle$ is prime.
I would like to check if my proof is correct, also, if someone has an alternative solution, he or she is welcome to share it.
Recall $I$ prime ideal in ring $R \iff R/I$ is a integral domain.
$\\$
$$\frac{\mathbb{Z}[\sqrt{10}]}{\langle 2,\sqrt{10} \rangle} \cong \mathbb{Z}/\langle 2 \rangle$$