I imagine this is a duplicate, but I can't find it. In the first chapter on groups, Aluffi shows that if $g$ is a group element of finite order, then $$|g^n|=\frac {|g|}{\gcd(n,|g|)}.$$ In an exercise, he asks the reader to show that if $g$ is an element of maximal finite order in an abelian group and $h$ is any element of finite order, then $|h|\mid|g|$. I proved this using the following hopefully-valid lemma:
Lemma
If $g$ has finite order and $m\mid |g|$ then there is an element with order $m$.
Proof
$$|g^{|g|/m}|=\frac{|g|}{|g|/m}=m$$ $\square$
If $g$ is of maximal finite order and $h$ is of finite order, then $|g|$ and $\frac{|h|}{\gcd(|g|,|h|)}$ are relatively prime, so by a previous exercise, $$|gh|=|g|\frac{|h|}{\gcd(|g|,|h|)}.$$ By maximality, $\gcd(|g|,|h|)=|h|$ so $|h|\mid|g|$.
Is this correct? The hint Aluffi gives for the exercise involves powers of primes and such and thus strikes me as more complicated.
Note
I see that Prove that for any element $b$, $|b|$ divides $|a|$ (order of $b$ divides order of $a$). addresses a similar question, but the solutions all seem quite different from mine and don't answer the question of whether mine is valid.