ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 26 Oct 2013 12:31:51 -0500cycle indexhttp://ask.sagemath.org/question/10661/cycle-index/I know that S4 = SymmetricGroup(4)
P = S4.cycle_index()
will return the cycle index polynomial for S_4. What I want to do is substitute variables into this polynomial for Polya Enumeration problems. So for instance, how do I substitute x+y into the cycles of length 1, x^2+y^2 into the cycles of length 2, etc.ClemFanJC07Sat, 26 Oct 2013 12:31:51 -0500http://ask.sagemath.org/question/10661/