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.

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

Table of values

n a(n)
0 0
1 -1
2 3
3 5
4 15
5 29
6 63
7 125
8 255
9 509
10 1023
11 2045
12 4095
13 8189
14 16383
15 32765
16 65535
17 131069
18 262143
19 524285
20 1048575
21 2097149
22 4194303
23 8388605
24 16777215
25 33554429
26 67108863
27 134217725
28 268435455
29 536870909
30 1073741823
31 2147483645
32 4294967295
33 8589934589

List of values

[0, -1, 3, 5, 15, 29, 63, 125, 255, 509, 1023, 2045, 4095, 8189, 16383, 32765, 65535, 131069, 262143, 524285, 1048575, 2097149, 4194303, 8388605, 16777215, 33554429, 67108863, 134217725, 268435455, 536870909, 1073741823, 2147483645, 4294967295, 8589934589]