- #1
- 35
- 3
This trick is something interesting to know about. I will remember it.appreciate your helpThe sum of natural numbers 1 to N. Is that the part you are confused about?
Let's do an example. Say you want to add the numbers 1 to 10. You can group them: Take the first number and the last number (1 + 10) then 2nd number and next to last (2 + 9), then (3 + 8) etc. Each grouping adds to 11. There are 5 groupings. So in general, we have (N + 1) * (N/2). This works with odd N values as well.
But of you look at the 4th step they replaced 'n' by n-1 ..how do that work?This trick is something interesting to know about. I will remember it.appreciate your help
The comment appears to be misplaced. The replacement occurs one step above, going from ##\sum_{r=1}^n## to ##\sum_{r=1}^{n-1}##.But of you look at the 4th step they replaced 'n' by n-1 ..how do that work?
Oh i got it. :)The comment appears to be misplaced. The replacement occurs one step above, going from ##\sum_{r=1}^n## to ##\sum_{r=1}^{n-1}##.