gap> G:=MathieuGroup(11);;          
gap> p:=2;;deg:=14;;
gap> A:=ModPCohomologyRing(G,p,deg);
&lt;algebra over GF(2), with 20 generators>

gap> gns:=ModPRingGenerators(A);
[ v.1, v.6, v.8+v.10, v.13 ]
gap> List(gns,A!.degree);
[ 0, 3, 4, 5 ]
