Dear Mana, The following returns the set you seek:
Set (List (Collected (List (Elements (G), Order)), x -> x[2])); It should be effective for groups of modest order. Best Wishes, Peter On Mon, May 14, 2012 at 11:00 AM, mana Tari <mana_t...@yahoo.com> wrote: > Dear Forum, > > Let pi _{e}(G) be the set of element orders of group G. > Also let s_{i} be the number of elements of order i in G, > and nse(G):={s_{i}|i in pi _{e}(G)}, the set of sizes of > elements with the same order. > > Is there any code in GAP for find nse(G)? > > Thanks in advance, > > Mana > _______________________________________________ > Forum mailing list > Forum@mail.gap-system.org > http://mail.gap-system.org/mailman/listinfo/forum > _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum