Let Sn be the sum of n terms of an AP with first term a=8 and common difference d=20. Then,
Sn=n2(2a+(n−1)d)⇒Sn=n2(2×8+(n−1)×20)⇒Sn=n2(16+20n−20)
⇒Sn=n2(20n−4) ...1
similarly Let S2n be the sum of 2n terms of an AP with first term a1=30 and common difference d1=8. Then,
S2n=2n2(2a1+(2n−1)d1)⇒S2n=2n2(2×30+(n−1)×8)⇒S2n=2n2(60+8n−8)
⇒S2n=n(8n+52) ...2
According to question Sn=S2n
n2(20n−4)=n(8n+52)
⇒10n−2=8n+52
⇒2n=54
⇒n=27