Ask Your Question

Revision history [back]

n=6;dd=4;f=t^2*s[2, 2, 1] + (2*t^2+2*t)*s[3, 2] + 3*t*s[4, 1] + (4*t+1)*s[5] a=[ t^i * sum([s(item[0])*item[1][i] for item in f ]) for i in [0..floor((n)/2)]] sum(a),f,a

t^2s[2, 2, 2] + t^3s[2, 2, 2, 2] + 2t^4s[9, 1] + t^4*s[10]