Obtain the sum of all positive integers up to 1000, which are divisible by 5 and not divisible by 2.
Hint: The numbers are not divisible by 2 but divisible by 5. So, the numbers are all odd numbers.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Consider numbers 5 , 1 5 , 2 5 , 3 5 , . . . . . . . . . . , 9 9 5 Last term, l = a + ( n − 1 ) × d
a = 5 ; d = 1 0 ; l = 9 9 5
Therefore, n = 1 0 0 .
Using Sum formula
S = 2 n × ( a + l ) S = 2 1 0 0 × ( 5 + 9 9 5 ) S = 5 0 × 1 0 0 0 ∴ S = 5 0 0 0 0 .