Classification of natural numbers for which the multiplicative group is cyclic