Powers of 3 sequence

In this sequence every element is a a power of 3.

1st 3
2nd 9
3rd 27
4th 81
5th 243
6th 729
7th 2187
8th 6561
9th 19683
10th 59049
11th 177147
12th 531441
13th 1594323
14th 4782969
15th 14348907
16th 43046721
17th 129140163
18th 387420489
19th 1162261467
20th 3486784401
21st 10460353203
22nd 31381059609
23rd 94143178827
24th 282429536481
25th 847288609443
26th 2541865828329
27th 7625597484987
28th 22876792454961
29th 68630377364883
30th 205891132094649
31st 617673396283947
32nd 1853020188851841
33rd 5559060566555523
34th 16677181699666569
35th 50031545098999707
36th 150094635296999121
37th 450283905890997363
38th 1350851717672992089
39th 4052555153018976267
40th
1.2157665459057E+19