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.

A119914 Triangle read by rows: T(n,k) is number of ternary words of length n and having k runs of 0's of odd length (0 <= k <= ceiling(n/2); a run of 0's is a subsequence of consecutive 0's of maximal length).

Table of values

n a(n)
0 1
1 2
2 1
3 5
4 4
5 12
6 13
7 2
8 29
9 40
10 12
11 70
12 117
13 52
14 4
15 169
16 332
17 196
18 32
19 408
20 921
21 678
22 172
23 8
24 985
25 2512
26 2216
27 768
28 80
29 2378
30 6761
31 6952
32 3064
33 512
34 16
35 5741
36 18004
37 21144
38 11328
39 2640
40 192
41 13860
42 47525
43 62762
44 39624
45 11920
46 1424
47 32
48 33461
49 124536

List of values

[1, 2, 1, 5, 4, 12, 13, 2, 29, 40, 12, 70, 117, 52, 4, 169, 332, 196, 32, 408, 921, 678, 172, 8, 985, 2512, 2216, 768, 80, 2378, 6761, 6952, 3064, 512, 16, 5741, 18004, 21144, 11328, 2640, 192, 13860, 47525, 62762, 39624, 11920, 1424, 32, 33461, 124536]