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.

A306293 Number of binary words of length n such that in every prefix and in every suffix the number of 0's and the number of 1's differ by at most two.

Table of values

n a(n)
0 1
1 2
2 4
3 6
4 10
5 16
6 26
7 42
8 70
9 110
10 194
11 288
12 550
13 754
14 1586
15 1974
16 4630
17 5168
18 13634
19 13530
20 40390
21 35422
22 120146
23 92736
24 358390
25 242786
26 1071074
27 635622
28 3205030
29 1664080
30 9598706
31 4356618
32 28763350
33 11405774
34 86224514
35 29860704
36 258542470
37 78176338

List of values

[1, 2, 4, 6, 10, 16, 26, 42, 70, 110, 194, 288, 550, 754, 1586, 1974, 4630, 5168, 13634, 13530, 40390, 35422, 120146, 92736, 358390, 242786, 1071074, 635622, 3205030, 1664080, 9598706, 4356618, 28763350, 11405774, 86224514, 29860704, 258542470, 78176338]