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.

A284125 Number of binary strings w of length n for which s, the longest proper suffix of w that appears at least twice in w, is of length 2.

Table of values

n a(n)
1 0
2 0
3 2
4 4
5 12
6 26
7 52
8 98
9 178
10 316
11 556
12 972
13 1694
14 2950
15 5140
16 8968
17 15676
18 27460
19 48212
20 84844
21 149656
22 264578
23 468780
24 832344
25 1480860
26 2639730
27 4714066
28 8432938
29 15110070
30 27115448
31 48729252
32 87689374
33 157998112
34 285016412
35 514716578
36 930499110
37 1683776276

List of values

[0, 0, 2, 4, 12, 26, 52, 98, 178, 316, 556, 972, 1694, 2950, 5140, 8968, 15676, 27460, 48212, 84844, 149656, 264578, 468780, 832344, 1480860, 2639730, 4714066, 8432938, 15110070, 27115448, 48729252, 87689374, 157998112, 285016412, 514716578, 930499110, 1683776276]