cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A232801 a(2n) = (3^n - 1)/2, a(2n+1) = 3^n.

Table of values

n a(n)
0 0
1 1
2 1
3 3
4 4
5 9
6 13
7 27
8 40
9 81
10 121
11 243
12 364
13 729
14 1093
15 2187
16 3280
17 6561
18 9841
19 19683
20 29524
21 59049
22 88573
23 177147
24 265720
25 531441
26 797161
27 1594323
28 2391484
29 4782969
30 7174453
31 14348907
32 21523360
33 43046721
34 64570081
35 129140163
36 193710244
37 387420489

List of values

[0, 1, 1, 3, 4, 9, 13, 27, 40, 81, 121, 243, 364, 729, 1093, 2187, 3280, 6561, 9841, 19683, 29524, 59049, 88573, 177147, 265720, 531441, 797161, 1594323, 2391484, 4782969, 7174453, 14348907, 21523360, 43046721, 64570081, 129140163, 193710244, 387420489]