0
$\begingroup$

Possible Duplicate:
Proof for formula for sum of sequence 1+2+3+…+n?

I have this sigma:$$\sum_{i=1}^{N}(i-1)$$

is it $$\frac{n^2-n}{2}\quad?$$

  • 0
    sorry, I've wrote sigma then inter in the tag and I didn't know it was measure theory :S , yes I know this formula and wt I did is subtract N from it then I got what I wrote in the question,is it right?2011-10-02
  • 1
    @Sosy: Yes, that is a correct argument. I've closed this question as a duplicate, because this question has come up before here.2011-10-02

1 Answers 1

0

There is an elementary proof that $\sum_{i = 1}^n i = \frac{n(n+1)}{2}$, which legend has is due to Gauss. For a proof, see my blog post at Math ∩ Programming.

What you have is the same as $\sum_{i = 1}^{N-1} i$, since adding zero is trivial. So your thing is correct, and substituting $n$ for $N-1$ we get $N(N-1)/2$, which is what you have.

  • 3
    In fact, the legend does *not* say Gauss invented the formula (he didn't), but just that Gauss re-discovered it as a schoolboy.2011-10-02
  • 0
    Right. I meant the particular proof is due to Gauss (which might also be untrue).2011-10-02