GAP:AutomorphismGroup

Function type
This GAP function takes as input a group and outputs a group, along with a stored action of that group on the original group.

Behavior
For an input group, the function outputs the automorphism group of that group.

Related functions

 * GAP:Endomorphisms: This function also requires the Sonata package and outputs all the endomorphisms as maps from the group to itself.

Some examples involving pre-specified groups
gap> G := SymmetricGroup(6); Sym( [ 1 .. 6 ] ) gap> H := AutomorphismGroup(G); gap> Order(H); 1440

This snippet computes the automorphism group of the symmetric group on six letters.

gap> L := List(AllSmallGroups(8),AutomorphismGroup); [, , , , ] gap> List(L,IdGroup); [ [ 4, 2 ], [ 8, 3 ], [ 8, 3 ], [ 24, 12 ], [ 168, 42 ] ]

This snippet uses the AllSmallGroups command and List command to compute the list of automorphism groups of all groups of order eight. Next, it lists the group IDs of all these automorphism groups using the IdGroup command. The first number in each pair represents the order of the automorphism group, while the second number represents its position among the list of all groups of that order. In particular, this list shows that the automorphism groups of the five groups of order eight have sizes $$4,8,8,24,168$$ respectively.