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.

A118871 Number of binary sequences of length n containing exactly one subsequence 0101.

Table of values

n a(n)
0 0
1 0
2 0
3 0
4 1
5 4
6 10
7 24
8 57
9 128
10 278
11 596
12 1260
13 2628
14 5430
15 11136
16 22683
17 45936
18 92574
19 185764
20 371347
21 739840
22 1469580
23 2911224
24 5753048
25 11343800
26 22322444
27 43845120
28 85973013
29 168314604
30 329041842
31 642385248
32 1252552077
33 2439430272
34 4745767138
35 9223159852

List of values

[0, 0, 0, 0, 1, 4, 10, 24, 57, 128, 278, 596, 1260, 2628, 5430, 11136, 22683, 45936, 92574, 185764, 371347, 739840, 1469580, 2911224, 5753048, 11343800, 22322444, 43845120, 85973013, 168314604, 329041842, 642385248, 1252552077, 2439430272, 4745767138, 9223159852]