First time here? Check out the FAQ!
answered 2019-08-04 08:58:20 +0100
See subgroup() of PermutationGroup:
subgroup()
PermutationGroup
sage: G = SymmetricGroup(4) sage: H = G.subgroup([(1,2)]) sage: list(H) [(), (1,2)]
Here () denotes the identity permutation.
()