Numbers divisible by
5 between
100 and
300 are
105,110,−−−−295
a=100,d=5 last term l=295
tn=a+(n−1)d⇒295=100+(n−1)×5
⇒1955=n−1
⇒39=n−1
⇒n=39+1=40
∴Sum=n2(a+l)=402(105+295)
=20×400=8000
Numbers divisible by 6 are
102,108,114...294
a=102,l=294
and 294=102+(n+1)×6⇒294−102=(n−1)×6
⇒(n−1)×6=192
⇒n−1=32
⇒n=32+1=33
∴sum=332(102+294)=332×396=6534
Numbers divisible by both 5 and 6 are
120,150,180,210,240,270a=120,d=30
l=270
Also n=6
∴sum=62(120+270)=3×390=1170