answered 8 years ago
Like that:
sage: G = SymmetricGroup(3) sage: rho = SymmetricGroupRepresentation([1,1,1]) sage: chi = rho.to_character() sage: chi(G([2,1,3])) -1
This is explained in the doc.