Hi Ayoub, you can use the "Subgroups" command from the SONATA-Library and Filter the subgroups with the correct index:
gap> G:=SmallGroup(432,1); <pc group of size 432 with 7 generators> gap> 432/16; 27 gap> S:=Filtered(Subgroups(G), i-> Size(i)=27);; Now S contains a list of all Subgroups of G with Index 16. Ivo. Am 19.07.2011 um 21:37 schrieb ayoubac basheer: > Dear GAP Forum > > Is there any command in GAP to get a subgroup H of a given group G with > given index m? For example let G be a group of order say 432. How can we > find those subgroups of G of index 16. > > Thanks > > Ayoub > _______________________________________________ > 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