Problem 1

Multiples of 5 and 7

If we list all the natural numbers below 20 that are multiples of 5 or 7, we get 5, 7, 10, 14 and 15. The sum of these multiples is 51.

Find the sum of all the multiples of 5 or 7 below 1000.


The answer is: