Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have the following solution to a problem that I'm attempting to understand but I cannot find a rule online which explains it. Can someone please explain where the i comes from in the following summation?


(In the following line I understand where the $(2n + 2)$ comes from because since 1 is being subtracted in the index you must add 1 to the variable. But i do not understand why the i is added why is it not just $\sum\limits_{i=1}^{n}(2n + 2 + 1)$ which is what i arrived at in my own solution?)

$=\sum\limits_{i=1}^{n-1}(2n+1-i+1) = \sum\limits_{i=1}^{n-1}(2n+2-i)$

$=(n-1)(2n+2) - \sum\limits_{i=1}^{n-1}(i)$

(please also explain how the second term is derived? Why is is not the normal arithmetic sequence sum of: $n(n + 1) / 2$ ?)

$=(n-1)(2n+2) - (n-1)\frac{1+(n-1)}{2}$

The rest of the solution is trivial simplification that I understand. the lines which begin with = are the actual solution parenthetical statements are my personal thoughts / questions

share|improve this question
can you possibly explain further as i do not understand why 5 and 10 must be considered in finding a solution to the problem. –  user17321 Nov 17 '13 at 1:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.