I am reading these lecture notes and they suggest the following generalisation of a specific example for $\mathbb Z_2 \times \mathbb Z_3 \cong Z_6 $:
There exists an isomorphism between $\mathbb Z_n \times \mathbb Z_m$ and $\mathbb Z_{nm}$ if $\gcd(n,m)=1$.
Clearly these two groups are of the same cardinality, since we can choose $n$ elements for the first coordinate and $m$ for the second. This is precisely the number of elements in $\mathbb Z _{nm}$.
Secondly, I know that $1$ generates the second group and that $(1,1)$ generates the first group. Is it as simple to just identify powers with each other, is there a justification to do so besides the fact that both elements have order $mn$ in their own group? So I would suggest: $$f((1,1)) = 1$$ as a starting point. And then $$f((a,a)) = a \cdot 1$$ where $1 \leq a \leq n \cdot m$
I suppose that since$$ \gcd(n, m) \cdot lcm(n,m)= nm $$and since $\gcd(n,m)=1$ , we know that $lcm(n,m)=nm$. This would indeed mean that the order of the element (1, 1) is $nm$. I feel like I a missing a step in the reasoning here. I suppose that since the least common multiple is $nm$ there are no "overlapping" powers. Can anybody help me make this more concrete?