I have the following question :
Proof : $\mathbb{Z}_2 \oplus \mathbb{Z}_6 \not \cong \mathbb{Z}_{12}$
The problem is that I think that $\mathbb{Z}_2 \oplus \mathbb{Z}_6 \cong \mathbb{Z}_{12}$. I don't understand why is the following not an injective and surjective function:
$$f:\mathbb{Z}_{12} \rightarrow \mathbb{Z}_2 \oplus \mathbb{Z}_6$$ for all $a\in \mathbb{Z}_{12}$ so that $f(a)=(a \mod 2,a \mod 6)$.
I'm not really sure how to approach such questions, in general when asked proof/disproof $\mathbb{Z}_x \oplus \mathbb{Z}_y \cong \mathbb{Z}_{xy}$, Any tips? Any ideas?
Thank you!