ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 27 Jul 2015 23:24:43 +0200How to create a subalgebra generated by certain elementshttps://ask.sagemath.org/question/28716/how-to-create-a-subalgebra-generated-by-certain-elements/I'm working in the group algebra of the symmetric group and I would like to be able to create the subalgebra generated by the Jucys-Murphy elements: X_i = (1 i) + (2 i) + ... + (i-1 i) for i = 1, ... ,n.
I can't seem to find a simple way to create a subalgebra generated by elements of an algebra. Any suggestions? I'm happy to give more context, but I'm pretty new to Sage so at the moment I'm not sure how to elaborate more.egdelmasMon, 27 Jul 2015 23:24:43 +0200https://ask.sagemath.org/question/28716/S3's elementshttps://ask.sagemath.org/question/9056/s3s-elements/Here's elements of Symmetric group of 6th order: S3:
![The book says](http://farm8.staticflickr.com/7098/7358188294_242a16d3d7_z.jpg "The book says")
I want to get the same in Sage. So I do:
sage: G = SymmetricGroup(3)
sage: G.list()
[(), (2,3), (1,2), (1,2,3), (1,3,2), (1,3)]
Now I can't find (1,3,2) element in the book. As far as I understand:
P1 -> ()
P2 -> (1,2,3)
P3 -> (2,3)
P4 -> (1,2)
P5 -> (1,3)
P6 -> ??? also (1,2,3) ???
So my question is to set the correct map from sage to my book...bk322Sun, 10 Jun 2012 13:41:13 +0200https://ask.sagemath.org/question/9056/