Answer:
(a) 498501
(b) 251001
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,



Substitute
,
and
in equation (1).



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.



Substitute
,
and
in equation (1).




Therefore the sum of series is 251001.