Processing math: 100%
Ask Your Question
0

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

asked 5 years ago

Captcha gravatar image

Consider the Symmetric Group S4

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 5 years ago

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.

Preview: (hide)
link

Comments

Thank you so very much

Captcha gravatar imageCaptcha ( 5 years ago )

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: 5 years ago

Seen: 341 times

Last updated: Aug 04 '19