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.

A306315 Number of binary words of length n such that the difference between the number of 1's and the number of 0's is in the interval [-2,3] for every prefix and in the interval [-3,2] for every suffix.

Table of values

n a(n)
0 1
1 2
2 4
3 6
4 12
5 18
6 35
7 54
8 103
9 162
10 307
11 486
12 926
13 1458
14 2823
15 4374
16 8688
17 13122
18 26962
19 39366
20 84285
21 118098
22 265147
23 354294
24 838625
25 1062882
26 2664636
27 3188646
28 8499263
29 9565938
30 27197074
31 28697814
32 87261592
33 86093442
34 280596321
35 258280326
36 903916589

List of values

[1, 2, 4, 6, 12, 18, 35, 54, 103, 162, 307, 486, 926, 1458, 2823, 4374, 8688, 13122, 26962, 39366, 84285, 118098, 265147, 354294, 838625, 1062882, 2664636, 3188646, 8499263, 9565938, 27197074, 28697814, 87261592, 86093442, 280596321, 258280326, 903916589]