To find the sum of first seven numbers which are multiples of 2 as well as of 9, take LCM of 2 and 9; which is 18.
So, the numbers are 18, 36, 54, ....
Here, first term, a = 18, common difference, d = 36 – 18 = 18
Sn=n2[2a+(n−1)d], S7=72[2(18)+(7−1)18]
=72[36+6×18]=7(18+3×18)
=7(18+54)=7×72=504