Skip to main content

Section B.2 GAP

Subsection What is GAP?

Subsection Commands in GAP

CyclicGroup(3);
SymmetricGroup(3);
DihedralGroup(4); 
QuaternionGroup(8);
FreeGroup("a", "b", "c");
Size(G);
Elements(G);
Subgroups(G);
NormalSubgroups(G);
GeneratorsOfGroup(G);
DirectProduct(G1, G2);
QuotientGroup(G, N);

IsCyclic(G);
IsAbelian(G);
IsSolvable(G);
IsSimple(G);

IsSubgroup(G,H);
IsNormal(G,H);
IsCharacteristicSubgroup(G, N);