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.

A386270 Total number of ones in runs of 1s of length <=2 over all binary strings of length n.

Table of values

n a(n)
0 0
1 1
2 4
3 9
4 22
5 52
6 120
7 272
8 608
9 1344
10 2944
11 6400
12 13824
13 29696
14 63488
15 135168
16 286720
17 606208
18 1277952
19 2686976
20 5636096
21 11796480
22 24641536
23 51380224
24 106954752
25 222298112
26 461373440
27 956301312
28 1979711488
29 4093640704
30 8455716864
31 17448304640
32 35970351104

List of values

[0, 1, 4, 9, 22, 52, 120, 272, 608, 1344, 2944, 6400, 13824, 29696, 63488, 135168, 286720, 606208, 1277952, 2686976, 5636096, 11796480, 24641536, 51380224, 106954752, 222298112, 461373440, 956301312, 1979711488, 4093640704, 8455716864, 17448304640, 35970351104]