sum of all integers from 1 to 500 which are not multiple of 2 or 5
Answers
Answered by
2
Answer:
Step-by-step explanation:
multiples of 2
2,4,6.................500
a=2
d=4-2=2
l=500
n=500/2=250
Sn=250/2(2+500). Sn=n/2(a+l)
150(502)
=62750
multiples of 5
5,10,15.............500
a=5
l=500
n=500/5=100
Sn=100/2(5+500)
=50(505)
=25250
10 multiples are common
10,20,30...........500
a=10
l=500
n=500/10=50
Sn=50/2(10+500)
= 25(510)
= 12750
n= 62750+25250-12750
= 75750
Similar questions