R

Remya

Number of integers divisible by 2 between 1 and 100 can calculated as

100= 2+(n-1)*2

N=50

Sum of integers = n/2(2a+(n-1)d)

= 50/2(4+98)

= 2550

Similarly numbers divisible by 5

100= 5+(n-1)5

N=20

Sum = 20/2(10+95)

=1050

The numbers divisible by both 2 and 5=

100=10+(n-1)10

n=10

It's sum= 10/2(20+90)

There for the final required sum =2550+1050-550=3050

1