We can split the nth term into
{nth term of 1,2,3,4...}{nth term of 2n-1,2n-3,2n-5...}
nth term of 2n-1,2n-3... $$a_n = 2n-1 + (n-1)(-2)$$ Since common difference is -2
$$a_n = 1$$
There nth term of the series is $$T_n=n$$ So $$S_n=\sum_{n=1}^n = \frac{(n)(n+1)}{2}$$
This answer is wrong, but I needed to show what I thought was right. How should I solve it correctly?
Observe that
$$2S=\sum_{r=1}^n(2r)(2n+1-2r)=2(2n+1)\sum_{r=1}^nr-4\sum_{...}r^2$$
Use The sum of squares of the first $n$ natural numbers.