login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A157674 as a simple table

na(n)
01
11
21
3-1
4-3
51
69
71
8-27
9-13
1081
1167
12-243
13-285
14729
151119
16-2187
17-4215
186561
1915505
20-19683
21-56239
2259049
23202309
24-177147
25-724499
26531441
272589521
28-1594323
29-9254363
304782969
3133111969
32-14348907
33-118725597
3443046721

[1,1,1,-1,-3,1,9,1,-27,-13,81,67,-243,-285,729,
 1119,-2187,-4215,6561,15505,-19683,-56239,59049,
 202309,-177147,-724499,531441,2589521,-1594323,
 -9254363,4782969,33111969,-14348907,-118725597,
 43046721]