Define the map $f : \Bbb Z/6\Bbb Z\to\Bbb Z/3\Bbb Z \times\Bbb Z/2\Bbb Z$ by $f([a]_6) = ([a]_3, [a]_2)$ where $[a]_n$ denotes the residue class of $a \in\Bbb Z$ modulo $n$. Prove that $f$ is an isomorohism. Try to prove that if $\gcd(m, n) = 1$, then the groups $\Bbb Z/mn\Bbb Z$ and $\Bbb Z/m\Bbb Z\times\Bbb Z/n\Bbb Z$ are isomorphic.
Can anyone help with this question?
I have prove only that $\gcd(m,n)=1$.
$f:\mathbb{Z_6}\to\mathbb{Z_3}\times\mathbb{Z_2}$ with $f([a]_6)=([a]_3,[a]_2)$
$f([a]_6+[b]_6)=f([a+b]_6)=([a+b]_3,[a+b]_2)=([a]_3+[b]_3,[a]_2+[b]_2)=([a]_3,[a]_2)+([b]_3,[b]_2)=f([a]_6)+f([b]_6)$
$f([a]_6)=f([b]_6)\Rightarrow ([a]_3,[a]_2)=([b]_3,[b]_2)\Rightarrow [a]_3=[b]_3 $ and $[a]_2=[b]_2\Rightarrow 3|a-b$ and $2|a-b $ and $gcd(3,2)=1$ so $6|a-b\Rightarrow[a]_6=[b]_6$
$f$ is $1-1$ and $|\mathbb{Z_6}|=|\mathbb{Z_3}\times\mathbb{Z_2}|=6\Rightarrow f$ is also onto