How to prove $\Bbb Z[i]/(1+2i)\cong \Bbb Z_5$?
My method is
$$(1+2i)=\big\{a+bi丨a+2b≡0\pmod 5\big\},$$
So any $a+bi$ in $\Bbb Z(i)$,we got
$$a+bi=(b-2a)i+a(1+2i).$$
So $\Bbb Z[i]/(1+2i)=\big\{0,[i],[2i],[3i],[4i]\big\}$.
I know how to prove this ring is isomorphic to $\Bbb Z_5$, but how can I prove that $\Bbb Z[i]/(1+2i)$ equals to $\Bbb Z_5$ directly? Any suggestion ia appreciated.
I think it is easier to do it this way. Let $\varphi:\Bbb Z[x]\to \Bbb Z[i]$ sending $x\mapsto i$. Then the preimage of the ideal $I=(1+2i)=(i-2)$ of $\Bbb Z[i]$ under $\varphi$ is the ideal $J=(x^2+1,x-2)$ of $\Bbb Z[x]$. Thus $\varphi$ induces the isomorphism $$\Bbb{Z}[i]/I\cong \Bbb{Z}[x]/J.$$
Now observe that $$J=(x^2+1,x-2)=(x^2+1,x-2,x^2-4)=(5,x-2).$$ This shows that$$\frac{\Bbb Z[i]}{(1+2i)}=\frac{\Bbb{Z}[i]}{(i-2)}\cong \frac{\Bbb Z[x]}{(x^2+1,x-2)}=\frac{\Bbb{Z}[x]}{(5,x-2)}\cong\frac{\Bbb{Z}[x]/(x-2)}{(5,x-2)/(x-2)}.$$ Because under the isomorphism $\Bbb{Z}[x]/(x-2)\cong \Bbb Z$ (which sends $p(x)+{\color{red}{(x-2)}}$ to $p(2)$), $(5,x-2)/(x-2)$ is the ideal $5\Bbb{Z}$ of $\Bbb Z$, we get $$\frac{\Bbb Z[i]}{(1+2i)}\cong\frac{\Bbb Z}{5\Bbb Z},$$ as required.