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.

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

Table of values

n a(n)
0 2
1 3
2 4
3 9
4 18
5 39
6 80
7 165
8 334
9 675
10 1356
11 2721
12 5450
13 10911
14 21832
15 43677
16 87366
17 174747
18 349508
19 699033
20 1398082
21 2796183
22 5592384
23 11184789
24 22369598
25 44739219
26 89478460
27 178956945
28 357913914
29 715827855
30 1431655736

List of values

[2, 3, 4, 9, 18, 39, 80, 165, 334, 675, 1356, 2721, 5450, 10911, 21832, 43677, 87366, 174747, 349508, 699033, 1398082, 2796183, 5592384, 11184789, 22369598, 44739219, 89478460, 178956945, 357913914, 715827855, 1431655736]