1 | initial version |
Like this
sage: q=polygen(QQ,'q')
sage: s=SymmetricFunctions(q.parent()).s()
sage: f=q*s([4])+(q-1)*s([3,2])
sage: f.map_coefficients(lambda q:q+1)
q*s[3, 2] + (q+1)*s[4]