I found the isomorphism here: Show that $\sqrt{-n}$ and $\sqrt{-n} +1$ are not prime in $\mathbb{Z}[\sqrt{-n} ]$
First I would like to show the isomorphism $\mathbb Z[\sqrt{-n}]\simeq\mathbb Z[X]/(X^2+n)$. This is my attempt:
Consider the map $\phi: Z[x] \to Z[\sqrt{-n}]$ defined by $f \to f(\sqrt{-n})$. It is clearly surjective and so by by First isomorphism theorem $Z[x]/\ker(\phi)\approx Z[\sqrt{-n}]$. It is easy to see that $\ker(\phi)$ contains $(x^2+n)$ but i am not sure how to show equality. We know that $(x^2+n)$ is not maximal (that is aposteriori) so that is not helpful. We do know it is prime as $x^2+n$ is irreducable and so prime ($Z[x]$ is a UFD). How do i conclude the two ideals are equal. I was thinking of perhaps doing things with the field of fractions and minimal polynomials but that does not seem to work.
Next how do I show the other two isomorphisms in the link above?
$\mathbb Z[\sqrt{-n}]/(\sqrt{-n})\simeq \mathbb Z/n\mathbb Z$
$\mathbb Z[\sqrt{-n}]/(\sqrt{-n}+1)\simeq \mathbb Z/(n+1)\mathbb Z$
My suspicion is to use the isomorphism theorems here. The ideal $(\sqrt{-n})$ coresponds to the ideal $(x+(x^2+n))$ I think but I am not sure.
Thank yoou