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.

A119808 Triangle read by rows: T(n,k) is the number of ternary words of length n having k runs of consecutive 0's (0<=k<=ceiling(n/2)).

Table of values

n a(n)
0 1
1 2
2 1
3 4
4 5
5 8
6 17
7 2
8 16
9 49
10 16
11 32
12 129
13 78
14 4
15 64
16 321
17 300
18 44
19 128
20 769
21 1002
22 280
23 8
24 256
25 1793
26 3048
27 1352
28 112
29 512
30 4097
31 8678
32 5500
33 880
34 16
35 1024
36 9217
37 23524
38 19892
39 5120
40 272
41 2048
42 20481
43 61410
44 66032
45 24600
46 2544
47 32
48 4096
49 45057
50 155616
51 205360

List of values

[1, 2, 1, 4, 5, 8, 17, 2, 16, 49, 16, 32, 129, 78, 4, 64, 321, 300, 44, 128, 769, 1002, 280, 8, 256, 1793, 3048, 1352, 112, 512, 4097, 8678, 5500, 880, 16, 1024, 9217, 23524, 19892, 5120, 272, 2048, 20481, 61410, 66032, 24600, 2544, 32, 4096, 45057, 155616, 205360]