The sum of some terms of G.P. is 315 whose first term and the common ratio are 5 and 2, respectively. Find the last term and the number of terms.
Let the sum of n terms of G.P. be 315 i.e. Sn=315.
Here, a = 15, r = 2
∴Sn=a(rn−1)r−1
⇒315=5(2n−1)2−1=5(2n−1)
⇒2n−1=3155=63
∴2n=63+1=64=26
⇒n=6
Now, a6=5×26−1=5×25
=5×32=160