Math, asked by kvamshi745pbnre5, 1 year ago

sum of the multiples of 3 and 5 below 1000

Answers

Answered by anuttamchitransh
1
To find n use 1000/3 = 333 + remainder, 1000/5 = 200 + remainder,1000/15 = 66 + remainder and thensum multiples of 3: 3 ⋅ 333 ( 333 + 1 ) / 2 = 166833 . multiples of 5: 5 ⋅ 200 ( 200 + 1 ) / 2 = 100500 and subtractmultiples of 15 15 ⋅ 66 ( 66 + 1 ) / 2 = 33165 to get 234168.

anuttamchitransh: if you liked so plz. put in brainlist
Similar questions