The sum of the first $n$ terms of the series $1^2 + 2 \cdot 2^2 + 3^2 + 2 \cdot 4^2 + 5^2 + 2 \cdot 6^2 + \ldots$ is $\frac{n(n+1)^2}{2}$ when $n$ is even. When $n$ is odd the sum is
- (1)
$\frac{3n(n+1)}{2}$
- (2)
$\frac{n^2(n+1)}{2}$
- (3)
$\frac{n(n+1)^2}{4}$
- (4)
$\left[\frac{n(n+1)}{2}\right]^2$
Show answer
Option (2) is correct.
Key from source paper