Find the general term of the sequence 3, 9, 27, 81, …