The positive integers that are divisible by 6 are;
6, 12, 18, 24 …
It can be observed that these are making an A.P. whose first term is 6 and common difference is 6.
a = 6
d = 6
S40=?Sn=n2[2a+(n−1)d]S40=402[2(6)+(40−1)6]=20[12+(39)(6)]=20(12+234)=20×246=4920