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.

A232228 a(1)=1; thereafter a(n) = 2^(number of bits in binary expansion of a(n-1)) + 1 + a(n-1).

Table of values

n a(n)
1 1
2 4
3 13
4 30
5 63
6 128
7 385
8 898
9 1923
10 3972
11 8069
12 16262
13 32647
14 65416
15 130953
16 262026
17 524171
18 1048460
19 2097037
20 4194190
21 8388495
22 16777104
23 33554321
24 67108754
25 134217619
26 268435348
27 536870805
28 1073741718
29 2147483543
30 4294967192
31 8589934489
32 17179869082
33 34359738267
34 68719476636

List of values

[1, 4, 13, 30, 63, 128, 385, 898, 1923, 3972, 8069, 16262, 32647, 65416, 130953, 262026, 524171, 1048460, 2097037, 4194190, 8388495, 16777104, 33554321, 67108754, 134217619, 268435348, 536870805, 1073741718, 2147483543, 4294967192, 8589934489, 17179869082, 34359738267, 68719476636]