Size of Centers of groups of order 288

220 Views Asked by At

How can I list the sizes of centers of groups of order $288$ in GAP? By GAP we know that there are $1045$ groups of this order by the command below:

G:=AllSmallGroups(288);;

I want to obtain Size(Center(G[i])) for $i = 1, \dots, 1045$ , respectively.

In fact I want to compute the difference between values of Size(Center(G[i])) and NrConjugacyClasses of corresponding G[i], for $i = 1, \dots, 1045$.

1

There are 1 best solutions below

17
On BEST ANSWER

This is the way I do; I don't know more shortcult commands (but there are)!

G:=AllSmallGroups(288);;
l:=[ ];;
for i in [1..Size(G)] do
    Add(l, Size(Center(G[i])));
od;
l;