I'm wrong, or the answer in the book is wrong:
Given $S=1+3+5+\cdots+2017+2019$, find $$\frac{1}{1010}S-1008$$
My attempt is:
$S=1+3+5+\cdots+2017+2019$
$S=\frac{2019-1}{2}(1+2019)$
$S=2038180$
Now I find $$\frac{1}{1010}S-1008=\frac{1}{1010}2038180-1008=1010$$
But in the book answer is $2$. Where is my error, or is the answer in the book wrong? Help me please.
$$S_3:=1+3+5=9,\\\frac{S_3}3-(3-2)=2$$ and more generally
$$S_n=1+3+5+\cdots(2n-1)=n^2,\\\frac Sn-(n-2)=2.$$