The 4th term of a geometric sequence is 192.if the first term is 3 then find the common ratio and the number of terms that will give a sum of 255

3r^3 = 192

so r = 4
So now find n such that
3(4^n - 1)/(4-1) = 255