It is given that the sum of some terms of G.P. is 315 whose first term is 5 and common ratio is 2.
The sum of n terms of the series is,
So, the value of n is 6. This means the last term of the G.P. is 6th term.
Therefore, 160 is the last term of the G.P.