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.

A140657 Powers of 2 with 3 alternatingly added and subtracted.

Table of values

n a(n)
0 4
1 -1
2 7
3 5
4 19
5 29
6 67
7 125
8 259
9 509
10 1027
11 2045
12 4099
13 8189
14 16387
15 32765
16 65539
17 131069
18 262147
19 524285
20 1048579
21 2097149
22 4194307
23 8388605
24 16777219
25 33554429
26 67108867
27 134217725
28 268435459
29 536870909
30 1073741827
31 2147483645
32 4294967299
33 8589934589

List of values

[4, -1, 7, 5, 19, 29, 67, 125, 259, 509, 1027, 2045, 4099, 8189, 16387, 32765, 65539, 131069, 262147, 524285, 1048579, 2097149, 4194307, 8388605, 16777219, 33554429, 67108867, 134217725, 268435459, 536870909, 1073741827, 2147483645, 4294967299, 8589934589]