If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.
Try other problems Here
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.
We need to find the sum of all positive multiples of 3 less than 1 0 0 0 plus the sum of all positive multiples of 5 under 1 0 0 0 minus the sum of all positive multiples of 3 × 5 = 1 5 under 1 0 0 0 , (since we will have counted the multiples of 1 5 twice in the first two sums).
As 3 × 3 3 3 = 9 9 9 is the greatest multiple of 3 less than 1 0 0 0 , 5 × 1 9 5 = 9 9 5 is the greatest multiple of 5 less than 1 0 0 0 and 1 5 × 6 6 = 9 9 0 is the greatest multiple of 1 5 under 1 0 0 0 , the desired sum is
2 3 3 3 ( 3 + 9 9 9 ) + 2 1 9 5 ( 5 + 9 9 5 ) + 2 6 6 ( 1 5 + 9 9 0 ) = 2 3 3 1 6 8 .
Note that the sum of an arithmetic sequence of n terms with first term a 1 and last term a n is 2 n ( a 1 + a n ) .