SOLUTION: 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 belo

Algebra ->  Sequences-and-series -> SOLUTION: 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 belo      Log On


   



Question 957196: 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 2812.

Answer by Edwin McCravy(20056) About Me  (Show Source):
You can put this solution on YOUR website!
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 2812.
2812 divided by 3 is 937.333333...

So there are 937 multiples of 3 less than 2812,
the last of which is (937)(3)=2811

Their sum is

3+6+9+12+15+18+21+24+27+30+...+2805+2808+2811

Therefore we use the sum formula

S%5Bn%5D=expr%28n%2F2%29%28a%5B1%5D%2Ba%5Bn%5D%29, with n=937, a1=3, d=3.

S%5B937%5D=expr%28937%2F2%29%283%2B2811%29=expr%28937%2F2%29%282814%29=1318359

----------------------------

2812 divided by 5 is 562.4

So there are 562 multiples of 5 less than 2812,
the last of which is (562)(5)=2810

Their sum is

5+10+15+20+25+30+35+40+45+...+2805+2810

Therefore we use the sum formula

S%5Bn%5D=expr%28n%2F2%29%28a%5B1%5D%2Ba%5Bn%5D%29, with n=562, a1=5, d=5.

S%5B562%5D=expr%28562%2F2%29%285%2B2810%29=%28281%29%282815%29=791015

------

If we add those two sums together we get

1318359+791015 = 2109374

--------------

However that's too much because it adds the integers which are
multiples of both 3 and 5 twice.  Those are the multiples of 15.
So we must find the sum of the multiples of 15 below 2812 and 
subtract that from the 2109374:

--------------

2812 divided by 15 is 187.46666...

So there are 187 multiples of 15 less than 2812,
the last of which is (187)(15)=2805

Their sum is

15+30+45+60+75+90+105+120+135+...2790+2805

Therefore we use the sum formula

S%5Bn%5D=expr%28n%2F2%29%28a%5B1%5D%2Ba%5Bn%5D%29, with n=187, a1=15, a187=2805 

S%5B187%5D=expr%28187%2F2%29%2815%2B2805%29=expr%28187%2F2%29%282820%29=263670

------

So subtracting 263670 from 2109374, the final answer is:

2109374-263670 = 1845704

Edwin