Skip to main content

Section B.2 GAP

“The greatest gap in life is the one between knowing and doing.”
―Richard Boggs

Subsection B.2.1 What is GAP?

Subsection B.2.2 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);