Answer:
(a) 498501
(b) 251001
Step-by-step explanation:
According Gauss's approach, the sum of a series is
.... (1)
where, n is number of terms.
(a)
The given series is
1+2+3+4+...+998
here,
![a_1=1](https://tex.z-dn.net/?f=a_1%3D1)
![a_n=998](https://tex.z-dn.net/?f=a_n%3D998)
![n=998](https://tex.z-dn.net/?f=n%3D998)
Substitute
,
and
in equation (1).
![sum=\frac{998(1+998)}{2}](https://tex.z-dn.net/?f=sum%3D%5Cfrac%7B998%281%2B998%29%7D%7B2%7D)
![sum=499(999)](https://tex.z-dn.net/?f=sum%3D499%28999%29)
![sum=498501](https://tex.z-dn.net/?f=sum%3D498501)
Therefore the sum of series is 498501.
(b)
The given series is
1+3+5+7+...+ 1001
The given series is the sum of dd natural numbers.
In 1001 natural numbers 500 are even numbers and 501 are odd number because alternative numbers are even.
![a_1=1](https://tex.z-dn.net/?f=a_1%3D1)
![a_n=1001](https://tex.z-dn.net/?f=a_n%3D1001)
![n=501](https://tex.z-dn.net/?f=n%3D501)
Substitute
,
and
in equation (1).
![sum=\frac{501(1+1001)}{2}](https://tex.z-dn.net/?f=sum%3D%5Cfrac%7B501%281%2B1001%29%7D%7B2%7D)
![sum=\frac{501(1002)}{2}](https://tex.z-dn.net/?f=sum%3D%5Cfrac%7B501%281002%29%7D%7B2%7D)
![sum=501(501)](https://tex.z-dn.net/?f=sum%3D501%28501%29)
![sum=251001](https://tex.z-dn.net/?f=sum%3D251001)
Therefore the sum of series is 251001.