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.

A386878 Number of runs of 1's of length <= 3 over all binary strings of length n.

Table of values

n a(n)
0 0
1 1
2 3
3 8
4 19
5 45
6 104
7 236
8 528
9 1168
10 2560
11 5568
12 12032
13 25856
14 55296
15 117760
16 249856
17 528384
18 1114112
19 2342912
20 4915200
21 10289152
22 21495808
23 44826624
24 93323264
25 193986560
26 402653184
27 834666496
28 1728053248
29 3573547008
30 7381975040
31 15233712128
32 31406948352

List of values

[0, 1, 3, 8, 19, 45, 104, 236, 528, 1168, 2560, 5568, 12032, 25856, 55296, 117760, 249856, 528384, 1114112, 2342912, 4915200, 10289152, 21495808, 44826624, 93323264, 193986560, 402653184, 834666496, 1728053248, 3573547008, 7381975040, 15233712128, 31406948352]