partial sum of coefficients

partial sum of coefficients