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.

A198834 Number of sequences of n coin flips that win on the last flip, if the sequence of flips ends with (0,1,1) or (1,1,1).

Table of values

n a(n)
1 0
2 0
3 2
4 2
5 4
6 6
7 10
8 16
9 26
10 42
11 68
12 110
13 178
14 288
15 466
16 754
17 1220
18 1974
19 3194
20 5168
21 8362
22 13530
23 21892
24 35422
25 57314
26 92736
27 150050
28 242786
29 392836
30 635622
31 1028458
32 1664080
33 2692538
34 4356618
35 7049156
36 11405774
37 18454930
38 29860704
39 48315634
40 78176338

List of values

[0, 0, 2, 2, 4, 6, 10, 16, 26, 42, 68, 110, 178, 288, 466, 754, 1220, 1974, 3194, 5168, 8362, 13530, 21892, 35422, 57314, 92736, 150050, 242786, 392836, 635622, 1028458, 1664080, 2692538, 4356618, 7049156, 11405774, 18454930, 29860704, 48315634, 78176338]