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.

A120910 Triangle read by rows: T(n,k) is the number of ternary words of length n having k levels (n >= 1, 0 <= k <= n-1). A level is a pair of identical consecutive letters.

Table of values

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

List of values

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