Solution:
Given that,
S7=49
S17=289
We know, sum of n terms of an A.P. is:
Sn=2n[2a+(n−1)d]
Therefore,
S7=27[2a+(7−1)d]
49=27[2a+6d]
7=a+3d(i)
In the same way,
S17=217[2a+(17−1)d]
289=217[2a+16d]
17=a+8d(ii)
On subtracting equation (i) from equation (ii), we get:
5d=10
d=2
From equation (i), we can write:
a+3(2)=7
a+6=7
a=1
Hence,
Sn=2n[2a+(n−1)d]
=2n[2(1)+(n−1)⋅2]
=2n(2+2n−2)
=2n(2n)
=n2