Formula is:
s_n = n/2 * (a0 + an)
for example,
sum from 10 to 15 is:
s_6 = 6/2 * (10 + 15 )= 75
where we note that 10 is the first term and 15 is the sixth term
More details here
firstPerson
Industrious Poster
4,046 posts since Dec 2008
Reputation Points: 851
Solved Threads: 626
Skill Endorsements: 15
Because 4 + 5 + 6 + 7 = 22
firstPerson
Industrious Poster
4,046 posts since Dec 2008
Reputation Points: 851
Solved Threads: 626
Skill Endorsements: 15
firstPerson
Industrious Poster
4,046 posts since Dec 2008
Reputation Points: 851
Solved Threads: 626
Skill Endorsements: 15