Find the sum of the multiples of 5 or 3 under 553
For example, 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.
553 -1 =552
552/3 =184 terms
Sum of 184 "3's" =51,060.
553 - 3=550
550/5 =110 terms
Sum of 110 "5's" =30,525
553÷5=110.6
there is 110 numbers wich is devisible by 5
553÷3=184.333
there is 184 numbers wich is devisible by 3
553÷15=36.9
there is 36 numbers wich is devisible by both 5 and 3
now let s find sum of devisors of 5:
5+5×2+5×3+5×4⋯+5×1105(1+2+3+4⋯+110)5(55.5×110)=30 525
sum of devisors of 3:
3(92.5×184)=51 060
sum of devisors of both 5 and 3
15(18.5×36)=9990
30 525+51 060−9990=71 595