Show that $\mathbb{Z}[i]$ is a unique factorization domain
Since $\mathbb{Z}[i]$ is example of a Euclidean domain so it both P.I.D and U.F.D
can any one explain why $10=(3+i)(3-i)=2\times 5$ does not contradict unique factorization in $\mathbb{Z}[i]$.
Is any way to prove that $\mathbb{Z}[i]$ is UFD from the definition of UFD
thank you.....
$2=(1+i)(1-i)$ is not a prime in $\Bbb Z[i]$. Also $5=(2+i)(2-i)$. The prime factorization of $10$ is $(1+i)(1-i)(2+i)(2-i)$ and $(1+i)(2-i)=3+i$