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.

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

Table of values

n a(n)
0 0
1 2
2 3
3 8
4 15
5 32
6 63
7 128
8 255
9 512
10 1023
11 2048
12 4095
13 8192
14 16383
15 32768
16 65535
17 131072
18 262143
19 524288
20 1048575
21 2097152
22 4194303
23 8388608
24 16777215
25 33554432
26 67108863
27 134217728
28 268435455
29 536870912
30 1073741823
31 2147483648
32 4294967295

List of values

[0, 2, 3, 8, 15, 32, 63, 128, 255, 512, 1023, 2048, 4095, 8192, 16383, 32768, 65535, 131072, 262143, 524288, 1048575, 2097152, 4194303, 8388608, 16777215, 33554432, 67108863, 134217728, 268435455, 536870912, 1073741823, 2147483648, 4294967295]