The sum of n terms of an A.P. is 3n2+5 The number of term which equals 159, is
Let Sn denote the sum of n terms. Then,
Sn=3n2+5
Now,
an=Sn-Sn-1 an=3n2+5-3(n-1)2+5=6n-3 an=159⇒6n-3=159⇒6n=162⇒n=27.