Quotient rings of Gaussian integers

$\rm\overbrace{(a,b)\!=\!1\,\Rightarrow\, ak\!+\!bj=1}^{\rm Bezout}.\:$ Let $\rm\ w = a\!+\!b\,{\it i}\,.\, $ In $\rm\, \langle w\rangle\,$ is $\,\rm(a\!+\!b\,{\it i}\,)(j\!+\!k\,{\it i}\,) =\, \overbrace{aj\!-\!bk+ \it i}^{\Large \color{#d0f}{ e\,\ +\,\ {\it i}}} $

$\rm \smash[t]{\Bbb Z\overset{h}{\to}}\, \Bbb Z[{\it i}\,]/\langle w\rangle\ $ is $\rm\,\color{#0a0}{onto,\ }$ by $\rm\bmod w\!:\,\ \color{#d0f}{{\it i}\,\equiv -e}\phantom{\phantom{\dfrac{.}{.}}}\!\!\Rightarrow\:c\!+\!d\,{\it i}\:\equiv\, c\!-\!de\in \Bbb Z.\ $ Let $\rm\ n = ww'$
$\!\rm\begin{eqnarray}\rm Note\ \ \color{#c00}{m\in ker\ h} &\iff&\rm w\mid m\!\iff \phantom{\dfrac{|}{|_|}}\!\!\!\!\!\! \dfrac{m}{w} = \dfrac{m\,w'}{ww'}\!=\dfrac{ma\!-\!mb\,{\it i}}n\in \Bbb Z[{\it i}\,]\\ &\iff&\rm n\mid ma,mb\!\iff\! n\mid(ma,mb)\!=\!m(a,b)\!=\!m\!\iff\! \color{#c00}{n\mid m}\end{eqnarray} $

$\rm Thus \ \ \Bbb Z[{\it i}\,]/\langle w\rangle\! \color{#0a0}{= Im\:h}\,\cong\: \Bbb Z/\color{#c00}{ker\:h} = \Bbb Z/\color{#c00}{n\Bbb Z}\,\ $ by the First Isomorphism Theorem.


Hint: Define a map $\phi : \mathbb{Z}[i] \to {\mathbb Z}_{a^2 + b^2}$ by $\phi (x + yi) = x-(ab)^{-1}y$. Next, show that $\phi$ is surjective homomorphism and find its kernel. For your hint $\ker(\phi) = \langle a+bi\rangle$.