I'm trying to solve the following exercise.
Let $a$ and $b$ be relatively prime integers, and $i^{2}=-1 .$ Prove that the natural map $\mathbb{Z} \rightarrow \mathbb{Z}[i] /\langle a+b i\rangle$ induces an isomorphism of $\mathbb{Z} /\left(a^{2}+b^{2}\right) \mathbb{Z}$ with $\mathbb{Z}[i] /\langle a+b i\rangle$.
And I'm totally lost. How should I proceed? I have a feeling that I should use the universal property, and take the quotient by the kernel of the natural map. This would induce an isomorphism with the image of the natural map. But I don't know what the kernel would be, and I honestly don't know how to work with rings like $\mathbb{Z}[i] /\langle a+b i\rangle$. Would anyone have a rigorous (and readable!) explanation?