Divisible Sum

Number Theory Level pending

What is the sum of the multiples by 3, 5 and 15 between 1 and 1000?

234168 232565 123654 102365

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.

1 solution

William Isoroku
Jul 26, 2014

1000/3 = 333 + remainder, 1000/5 = 200 + remainder, 1000/15 = 66 + remainder and then sum multiples of 3: 3x333(333+1)/2=166833. multiples of 5: 5x200(200+1)/2=100500 and subtract multiples of 15 15x66(66+1)/2=33165 to get 234168.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...