Alireza Ashrafi asked:
Is there any command in GAP to obtain all groups with a given number of conjugacy classes?
No, i.e. only if the given number is one: gap> AllGroups(1); [ <pc group of size 1 with 0 generators> ] Already the case of two conjugacy classes is pretty complicated -- see e.g. https://mathoverflow.net/questions/146799/ . Hope this helps, Stefan ----------------------------------------------------------------------------- https://stefan-kohl.github.io/ ----------------------------------------------------------------------------- _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum