Ask Your Question
0

Is there any code to calculate the subgroup generated by the permutations

asked 2019-08-04 08:16:11 +0100

Captcha gravatar image

Consider the Symmetric Group $S_4$

I have three permutations namely $(3,4), (1,2), (1,3)(2,4)$.

How to find the subgroup generated by these permutations ?

Is there any code to calculate in Sagemath the subgroup generated by the permutations given above?

As an example the code should work like this :

If I input $(12)$ the code should give ${(12),e}$

Can someone help please?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-08-04 08:58:20 +0100

rburing gravatar image

See subgroup() of PermutationGroup:

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

Here () denotes the identity permutation.

edit flag offensive delete link more

Comments

Thank you so very much

Captcha gravatar imageCaptcha ( 2019-08-04 14:42:29 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-08-04 08:16:11 +0100

Seen: 281 times

Last updated: Aug 04 '19