The integers between 1 to 100 which are divisible by 2 are 2,4,6...,100.
This forms an A.P. with both the first term and common difference equal to 2.
⇒100=2+(n−1)2⇒n=50∴2+4+6+...+100=502[2(2)+(50−1)(2)]=502[4+98]=(25)(102)=2550
The integers from 1 to 100 which are divisible by 5 are 5,10,..,100.
This forms an A.P. with both the first term and common difference equal to 5.
∴100=5+(n−1)5⇒5n=100⇒n=20∴5+10+...+100=202[2(5)+(20−1)5]=10[10+(19)5]=10[10+95]=10×105=1050
The integers from 1 to 100 which are divisible by both 2 and 5 are 10,20,..,100.
This forms an A.P. with both the first term and common difference equal to 10.
∴100=10+(n−1)(10)⇒n=10∴10+20+...+100=102[2(10)+(10−1)(10)]=5[20+90]=5(110)=550∴Required sum=2550+1050−550=3050