First time here? Check out the FAQ!
answered 0 years ago
gap.MaximalSubgroups(G) should do the job. See https://docs.gap-system.org/doc/ref/chap39.html#X861CD8DA790D81C2
gap.MaximalSubgroups(G)