8 ms·
1+99 = 100, 2+98=100 etc. So the sum of integers between 1 and 100 is 100*49 + 50. Is this what the author refers to? I believe he has misunderstood the point i
by faucet 15y ago
1+99 = 100, 2+98=100 etc. So the sum of integers between 1 and 100 is 100*49 + 50. Is this what the author refers to? I believe he has misunderstood the point in that math problem.
- tonyarkles 15y agoI don't remember the derivation off the top of my head, but I suspect the article is referring to the derivation of the formula: > S(1..n) = (n^2 + n) / 2 This was, if I recall, the very first example of inductive proofs we did at my university.