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.

A120906 Triangle read by rows: T(n,k) is the number of ternary words of length n on {0,1,2} having k drops (n>=0, k>=0). The drops of a ternary word on {0,1,2} are the subwords 10,20 and 21.

Table of values

n a(n)
0 1
1 3
2 6
3 3
4 10
5 16
6 1
7 15
8 51
9 15
10 21
11 126
12 90
13 6
14 28
15 266
16 357
17 77
18 1
19 36
20 504
21 1107
22 504
23 36
24 45
25 882
26 2907
27 2304
28 414
29 9
30 55
31 1452
32 6765
33 8350
34 2850
35 210
36 1
37 66
38 2277
39 14355
40 25653
41 14355
42 2277
43 66
44 78
45 3432
46 28314
47 69576
48 58278
49 16236
50 1221
51 12
52 91
53 5005

List of values

[1, 3, 6, 3, 10, 16, 1, 15, 51, 15, 21, 126, 90, 6, 28, 266, 357, 77, 1, 36, 504, 1107, 504, 36, 45, 882, 2907, 2304, 414, 9, 55, 1452, 6765, 8350, 2850, 210, 1, 66, 2277, 14355, 25653, 14355, 2277, 66, 78, 3432, 28314, 69576, 58278, 16236, 1221, 12, 91, 5005]