Suppose $G$ is a finite Abelian group that has exactly one subgroup for each divisor of $|G|$.
How does this imply that $G$ is cyclic?
By the Fundamental Theorem of Abelian Groups, $G \cong \mathbb{Z}_{p_1 ^{n_1}} \oplus \mathbb{Z}_{p_2 ^{n_2}} \oplus \cdots \oplus \mathbb{Z}_{p_k ^{n_k}}$ where $p_1 , p_2, \cdots , p_k$ are primes (not necessarily distinct).
I know that if $p_1, \cdots p_k$ are distinct, then $ \mathbb{Z}_{p_1 ^{n_1}} \oplus \mathbb{Z}_{p_2 ^{n_2}} \oplus \cdots \oplus \mathbb{Z}_{p_k ^{n_k}}$ is cyclic.
How do I go about showing that $p_1, \cdots, p_k$ are distinct?