Dear Mana, Find attached is a function written by Alexander Hulpke for your purpose. Copy it into "bin" and read it by GAP as gap> Read("orderFrequency"); gap> s_5:=SymmetricGroup(IsPermGroup,5); Sym( [ 1 .. 5 ] ) gap> orderFrequency(s_5); [Order of element, Number of that order]=[ [ 1, 1 ], [ 2, 25 ], [ 3, 20 ], [ 4, 30 ], [ 5, 24 ], [ 6, 20 ] ] With best wishes, Muhammad Shah > Date: Mon, 14 May 2012 16:00:31 +0100 > From: mana_t...@yahoo.com > To: fo...@gap-system.org > Subject: [GAP Forum] Find the set of sizes of elements with the same order > > 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