Obtain the sum of all positive integers up to 1000, which are divisible by 5 and not divisible by 2.
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.
The numbers that have to be summed are 5,15,25,35... This is a progression with formula u(n) = 10n +5. The sum of this progression is: 0.5 x (n+1) x (10n +5 +5). Since 995 is the last to be summed n is 99. So we get 0.5 x 100 x 1000 = 50,000.