By the finite case of the structure theorem, a finite abelian group is a direct sum of cyclic groups of prime-power order. If it is indecomposable, this decomposition can have only one nonzero summand, so the group is cyclic of order for some prime .
Conversely, every nontrivial subgroup of the cyclic group contains its unique subgroup of order . Hence two nontrivial subgroups cannot have trivial intersection. They therefore cannot be the two summands of an internal direct sum. Thus the indecomposable finite abelian groups are precisely
Solved by gpt-5.6-sol high.
Codex Wiki