xeon123
- 90
- 0
I'm trying to prove by induction the expression:
\sum_{i=1}^{n-1}(n-i)=\frac{n(n-1)}{2}
For the base case, n=2, S(2)=\frac{2(2-1)}{2}=1
For S(n+1)=\frac{(n+1)((n+1)-1)}{2} I have:
S(n+1) = \frac{n(n-1)}{2} + (n+1) <--- Is this correct?
I don't know what is the term for n+1. Any help?
\sum_{i=1}^{n-1}(n-i)=\frac{n(n-1)}{2}
For the base case, n=2, S(2)=\frac{2(2-1)}{2}=1
For S(n+1)=\frac{(n+1)((n+1)-1)}{2} I have:
S(n+1) = \frac{n(n-1)}{2} + (n+1) <--- Is this correct?
I don't know what is the term for n+1. Any help?
Last edited: