How can I prove that if $G$ is an Abelian group with elements $a$ and $b$ with orders $m$ and $n$, respectively, then $G$ contains an element whose order is the least common multiple of $m$ and $n$?
It's an exercise from Hungerford's book, but it's not homework. I could not solve it when I take the course on groups and I think it should be easy. There is a hint that says to first prove when $m$ and $n$ are coprimes. I did this part. But I have no idea how to solve the general case.
Thanks.
Below is a simple inductive proof excerpted from my post in a prior thread.
Lemma $\ $ A finite abelian group $\rm\,G\,$ has lcm-closed order set, i.e. with $\rm\, o(X) := $ order of $\rm\: X$
$$\rm X,Y \in G\ \ \Rightarrow\ \ \exists\ Z \in G\!:\ o(Z) = lcm(o(X),o(Y))\qquad\ \ \ \ \ $$
Proof $\ \ $ We induct on $\rm\, o(X)\, o(Y).\, $ If it's $\,1\,$ let $\rm\:Z = 1.\:$ Else split off $\rm\,p's$ in $\rm\,o(X),\,o(Y),\,$ i.e.
write $\rm\ \ o(X)\, =\, AP,\: \ \ o(Y) = B\bar P,\, $ prime $\rm\: p\nmid A,B,\, $ wlog $\rm\,p\,$ $\rm\color{#0a0}{highest}$ in $\,\rm P\,$ so $\,\rm\color{#0a0}{\bar P\!\mid P}\! =\! p^{\large k} > 1 $
Then $\rm\: o(X^{\large P}) = A,\ \ o(Y^{\large \bar P}) = B.\ $ By induction $\rm\, \exists\, Z\!:\ o(Z) = lcm(A,B)$
so $\rm\,\ \ o(X^{\large A}\,\!Z) =\, P\, lcm(A,B) = lcm(AP,B\bar P) = lcm(o(X),o(Y))\,\ $ by here.
Note $ $ This is an element-wise form of what's known as "Herstein's hardest problem": $2.5.11$, p. $41$ in the first edition of Herstein's popular textbook Topics in Algebra. In the 2nd edition Herstein added the following note (problem $2.5.26$, p. $48$)