InterviewSolution
`1+nx^n``(X(x+1))/(2) + x^n``(1-x^n)/((1-x)^2)``{(1-x^n)/((1-x)^2) - (nx^n)/((1-x))}`
Your experience on this site will be improved by allowing cookies. Read Cookie Policy