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.

A099430 a(n) = 2^n+(-1)^n-1.

Table of values

n a(n)
0 1
1 0
2 4
3 6
4 16
5 30
6 64
7 126
8 256
9 510
10 1024
11 2046
12 4096
13 8190
14 16384
15 32766
16 65536
17 131070
18 262144
19 524286
20 1048576
21 2097150
22 4194304
23 8388606
24 16777216
25 33554430
26 67108864
27 134217726
28 268435456
29 536870910
30 1073741824
31 2147483646

List of values

[1, 0, 4, 6, 16, 30, 64, 126, 256, 510, 1024, 2046, 4096, 8190, 16384, 32766, 65536, 131070, 262144, 524286, 1048576, 2097150, 4194304, 8388606, 16777216, 33554430, 67108864, 134217726, 268435456, 536870910, 1073741824, 2147483646]