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.

A120909 Triangle read by rows: T(n,k) is the number of ternary words of length n having k runs (i.e., subwords of maximal length) of identical letters (1 <= k <= n).

Table of values

n a(n)
1 3
2 3
3 6
4 3
5 12
6 12
7 3
8 18
9 36
10 24
11 3
12 24
13 72
14 96
15 48
16 3
17 30
18 120
19 240
20 240
21 96
22 3
23 36
24 180
25 480
26 720
27 576
28 192
29 3
30 42
31 252
32 840
33 1680
34 2016
35 1344
36 384
37 3
38 48
39 336
40 1344
41 3360
42 5376
43 5376
44 3072
45 768
46 3
47 54
48 432
49 2016
50 6048
51 12096
52 16128
53 13824
54 6912
55 1536
56 3
57 60

List of values

[3, 3, 6, 3, 12, 12, 3, 18, 36, 24, 3, 24, 72, 96, 48, 3, 30, 120, 240, 240, 96, 3, 36, 180, 480, 720, 576, 192, 3, 42, 252, 840, 1680, 2016, 1344, 384, 3, 48, 336, 1344, 3360, 5376, 5376, 3072, 768, 3, 54, 432, 2016, 6048, 12096, 16128, 13824, 6912, 1536, 3, 60]