If the sum of the series 12+2⋅22+32+2⋅42+52+2⋅62+⋯ up to n terms, when n is even, is 2n(n+1)2, then the sum of the series, when n is odd, is:
Solutions · 1
Official solution
For odd n, the sum is the even-n sum through n−1 terms plus the final term n2 (unpaired, since n is odd its own term is not doubled):
\[S(n)=S(n-1)+n^2=\frac{(n-1)\,n^2}{2}+n^2=n^2\left(\frac{n-1}{2}+1\right)=\frac{n^2(n+1)}{2}.\]