Dear forum, I have written a simple GAP programme as follows: A:=AllSmallGroups(Size,[1..20]); for i in [1..Size(A)] do G:=A[i]; f:=FactorsInt(Size(G)); F:=Union(f,f); for p in F do P:=SylowSubgroup(G,p); od; od; the following error is produced: Error, SylowSubgroup: <p> must be a prime called from <compiled or corrupted call value> called from SylowSubgroup( G, p ) called from <function>( <arguments> ) called from read-eval-loop Entering break read-eval-print loop ... you can 'quit;' to quit to outer loop, or you can 'return;' to continue brk> If we replace "A:=AllSmallGroups(Size,[1..20])" by "A:=AllSmallGroups(Size,[1..20],IsSolvable,false)", then this error doesn't appear. I can not find the reason. How can I use the attribute "SylowSubgroup(G,p)" when G is solvable? Best Wishes. Jianjun Liu
_______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum