If a1 = 10 and an = 3an -1 what is the 4th number in the sequence

10*3^3 = 270