Automorphisms of a cyclic group

Aut(C_n) is naturally isomorphic to (ℤ/nℤ)×
Automorphisms of a cyclic group

Proposition (Automorphism group of a finite cyclic group). Let GG be a cyclic group of order nn, and identify GZ/nZG\cong \mathbb Z/n\mathbb Z via . Then

Aut(G)  (Z/nZ)×, \mathrm{Aut}(G)\ \cong\ (\mathbb Z/n\mathbb Z)^\times,

where (Z/nZ)×(\mathbb Z/n\mathbb Z)^\times denotes the of the ring Z/nZ\mathbb Z/n\mathbb Z.

Equivalently: if G=gG=\langle g\rangle, then every automorphism αAut(G)\alpha\in \mathrm{Aut}(G) is uniquely determined by α(g)=gk\alpha(g)=g^k with gcd(k,n)=1\gcd(k,n)=1, and composition corresponds to multiplication of kk modulo nn.

Context. This makes automorphisms of cyclic groups completely explicit: an automorphism is exactly the choice of a generator-image. The group Aut(G)\mathrm{Aut}(G) itself is a central object in extension theory and semidirect products.

Proof sketch. Define a map (Z/nZ)×Aut(Z/nZ)(\mathbb Z/n\mathbb Z)^\times\to \mathrm{Aut}(\mathbb Z/n\mathbb Z) by sending k\overline{k} to multiplication-by-k\overline{k}. This is a homomorphism. It is injective because multiplication-by-k\overline{k} is the identity only when k=1\overline{k}=\overline{1}. It is surjective because any group endomorphism of a cyclic group is determined by the image of 11, and it is invertible exactly when that image is a generator, i.e. a unit modulo nn.