Find all finite groups $G$ s.t for any $a,b\in G$ either $a$ is a power of $b$ or $b$ is a power of $a$
I think i showed that all such groups are $Z_{p^n}$ for $p$ prime, is this correct? I first showed that the group must be cyclic by considering the element of the largest order $\langle a\rangle$ and achiveing contradiction if $\langle a\rangle\not= G$., and then that if $Z_n$ with $n$ composite then it does not have this property. as there are two disjoint cyclic subgroups of coprime orders.
Is this correct? Are all groups such groups $Z_{p^n}$?
\langleand\rangle, not<and>. – Arturo Magidin Aug 18 '20 at 20:59