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.

A247374 Number of button presses required to try every combination of a binary combination lock with n number buttons.

Table of values

n a(n)
1 3
2 8
3 17
4 38
5 77
6 165
7 331
8 698
9 1397
10 2921
11 5843
12 12149
13 24299
14 50315
15 100631
16 207698
17 415397
18 855105
19 1710211
20 3512801
21 7025603
22 14403923
23 28807847
24 58967773
25 117935547
26 241071395
27 482142791
28 984343883
29 1968687767
30 4014934295
31 8029868591
32 16360277378
33 32720554757
34 66607912625
35 133215825251
36 270969218153

List of values

[3, 8, 17, 38, 77, 165, 331, 698, 1397, 2921, 5843, 12149, 24299, 50315, 100631, 207698, 415397, 855105, 1710211, 3512801, 7025603, 14403923, 28807847, 58967773, 117935547, 241071395, 482142791, 984343883, 1968687767, 4014934295, 8029868591, 16360277378, 32720554757, 66607912625, 133215825251, 270969218153]