I do not think that here we can use that formula.
Where you found it? Could I see, please?
The geometric series formula is:
a1 = 3 - the first number of the sequence
q = 3 - common ratio (because every number is the previous number multiplied by 3)
the sum is