Given:
First five consecutive positive integers.
To find:
The sum of the first 5 consecutive positive integers.
Sum of the first n consecutive whole numbers.
Solution:
First five consecutive positive integers are 1, 2, 3, 4 and 5.
Sum of these numbers is

Therefore, the sum of the first 5 consecutive positive integers is 15.
First n consecutive whole numbers are 0, 1, 2, 3,..., (n-1). These numbers are in AP.
Here, first term is 0 and common difference is 1.
Sum of n terms of an AP is
![S_n=(n)/(2)[2a+(n-1)d]](https://img.qammunity.org/2021/formulas/mathematics/high-school/nbbqumcy0s5kebc4qw68eqqy1qlvhszlv2.png)
where, a is first term and d is common difference.
Substitute a=0 and d=1 in the above formula.
![S_n=(n)/(2)[2(0)+(n-1)(1)]](https://img.qammunity.org/2021/formulas/mathematics/high-school/62cu6jm1tlbkcmzyfauntzj0ipqg9lrn8a.png)
![S_n=(n)/(2)[n-1]](https://img.qammunity.org/2021/formulas/mathematics/high-school/80rkehx3j983fk0ccj71hw9lzesw8ro5ga.png)
Sum of first 5 consecutive positive integers is equal to the sum of first 6 consecutive whole number because in whole numbers 0 is extra number.
For n=6,
![S_6=(6)/(2)[6-1]](https://img.qammunity.org/2021/formulas/mathematics/high-school/knli99b8pnuldyc1ipbv1cyqf51h2bk25s.png)


The sum of the first 5 consecutive positive integers is 15.
So, the sum of (n-1) consecutive positive integers is
![S_n=(n)/(2)[n-1]](https://img.qammunity.org/2021/formulas/mathematics/high-school/80rkehx3j983fk0ccj71hw9lzesw8ro5ga.png)