Integers divisible by 2(Up to 100)=2,4,6,⋯,98,100
[0.5 mark]
Integers divisible by 5(Up to 100)=5,10,15,⋯,95,100
[0.5 mark]
Let, S1=Sum of numbers divisible by 2(Up to 100)S2=Sum of numbers divisible by 5(Up to 100)S3=Sum of numbers divisible by 10(Up to 100)⇒Sum of number divisible by 2 or 5(Up to 100)=S1+S2−S3⋯(i)
[1 mark]
Let's first find S1,S1=2+4+6+⋯+98+100S1=2(1+2+3+⋯+49+50)S1=2×50×(50+1)2=2550
[0.5 mark]
Similarly, S2=5×20×(20+1)2=1050 and S3=10×10×(10+1)2=550
[1 mark]
Now, After putting these values in (i),Sum of number divisible by 2 or 5(Up to 100)=2550+1050−550=3050
[0.5 mark]