We have to find the value of Sum(100 + k), for k = 1 to
100
Sum(100 + k), k = 1 to
100
=> 100*100 + Sum(k), k = 1 to
100
The sum of the numbers from 1 to n is given by n*(n +
1)/2
=> 100*100 +
100*101/2
=> 10000 +
5050
=>
15050
The required sum is
15050.
No comments:
Post a Comment