I'm learning summation and I need help with the following sum:
$\sum\limits_{i=0}^{n-2} n$
What I thoughts is, since $n$ don't change, my sum will be
$S_n$ = $n_1$ + $n_2$ + $n_3$ + ... + $n_{n-2}$
Then:
$2S_n$ = ($n_1$+$n_{n-2}$)$n$
$2S_n$ = ($2n$)$n$ = $2n^2$
$S_n$ = $n^2$
But the answer in my book is $n(n-1)$ and I dont get why.
Thanks.