Please see MaximalSubgroups (I presume you should know already how to construct D8 from previous replies, so I am not giving an example).
This is how to find its documentation in GAP: gap> ?MaximalSubgroups Help: several entries match this topic - type ?2 to get match [2] [1] Reference: MaximalSubgroups [2] Reference: MaximalSubgroupsLattice [3] Reference: MaximalSubgroups for groups with pcgs [4] Reference: MaximalSubgroupsTom gap> Now type ?1 etc. Also, this is useful: http://www.gap-system.org/Faq/faq.html#7.7 HTH Alexander > On 2 May 2015, at 09:37, abdulhakeem alayiwola <lovepgro...@gmail.com> wrote: > > how do one find the maximal subgroups of a group say D8 using gap? > _______________________________________________ > 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