# Revision history [back]

### cycle_index as element of PolynomialRing

How do I get the cycle_index of a group as an element of PolynomialRing(QQ,...)? For example I tried

G=SymmetricGroup(3)
p=G.cycle_index()


But I want p as an element of PolynomialRing(QQ,3,"xyz").

 2 retagged vdelecroix 7147 ●16 ●78 ●155 http://www.labri.fr/pe...

### cycle_index as element of PolynomialRing

How do I get the cycle_index of a group as an element of PolynomialRing(QQ,...)? For example I tried

G=SymmetricGroup(3)
p=G.cycle_index()


But I want p as an element of PolynomialRing(QQ,3,"xyz").