/* generators for maximal subgroups of J2:2 */ GeneratorsJ2AutmMax1 := function (a,b) w1 := a; w2 := b; return [w1,w2]; end function; /* list of subgroups of J2:2 */ DataJ2Autm := function () F := SLPGroup (2); L := [ rec , rec ]; return L; end function; /* code to find standard generators of J2:2 and produce listing of maximal subgroups */ MaximalsJ2Autm := function (G) x, y := StandardGeneratorsJ2Autm(G); if Type(x) eq BoolElt then "Unable to find Standard Generators"; return false; end if; G := sub; return ListMaximals(G, "J2:2", DataJ2Autm()); end function;