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.

A334251 a(n) is the number of binary (0,1) sequences of length n that have at most two zeros in a window of seven consecutive symbols.

Table of values

n a(n)
0 1
1 2
2 4
3 7
4 11
5 16
6 22
7 29
8 43
9 66
10 102
11 157
12 239
13 358
14 526
15 777
16 1159
17 1740
18 2619
19 3942
20 5923
21 8870
22 13259
23 19822
24 29667
25 44451
26 66641
27 99912
28 149745
29 224338
30 335993
31 503199
32 753720
33 1129164
34 1691796
35 2534807
36 3797721
37 5689507
38 8523275
39 12768309
40 19127928
41 28655867
42 42930562

List of values

[1, 2, 4, 7, 11, 16, 22, 29, 43, 66, 102, 157, 239, 358, 526, 777, 1159, 1740, 2619, 3942, 5923, 8870, 13259, 19822, 29667, 44451, 66641, 99912, 149745, 224338, 335993, 503199, 753720, 1129164, 1691796, 2534807, 3797721, 5689507, 8523275, 12768309, 19127928, 28655867, 42930562]