Ask Your Question

Revision history [back]

Here is an example of how to get a list of coset representatives:

sage: g=libgap.AlternatingGroup(5)
sage: h=g.Stabilizer(1)
sage: [x.Representative() for x in g.RightCosets(h)]
[(), (1,5,4), (1,4,5), (1,2,5), (1,3,5)]

Please feel free to ask for more details.