Sum of integers which are divisible by 2 or 5 is
S=(2+4+6+8+10+12+..................+100)+(5+15+25+35.......+95)
=2(1+2+3+.......................50)+5(1+3+7+...........+19)
=2(50×512)+5(102)
(since, Sum of first n integers =n(n+1)2
and Sum of first n odd numbers =n2 )
∴S=2550+500=3050