Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

See subgroup() of PermutationGroup:

sage: G = SymmetricGroup(4)
sage: H = G.subgroup([(1,2)])
sage: list(H)
[(), (1,2)]

Here () denotes the identity permutation.