Decide if $\mathbb Z[i]/\langle i\rangle$ and $\mathbb Z$ are isomorphic, if $\mathbb Z[i]/\langle i+1\rangle$ and $\mathbb Z_2$ are isomorphic
I know that in the first case if there exist such homomorphism then $f(i)=0$ (and in the second case $f(i+1)=0$), but I don't know exactly how to prove it.
To show the first isomorphism you can use one of the isomorphism theorems:
$$(A+I)/I \cong A/(A\cap I) $$
In this case $A=\mathbb{Z}\subseteq \mathbb{Z}[i]$ and $I=(i)$.
In the second case, note that $(i+1)^{2}=(2)$, so we have $\mathbb{Z}\cap (i+1)^{2}=(2)$. Then apply again the same theorem.