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.

A274498 Triangle read by rows: T(n,k) is the number of ternary words of length n having degree of asymmetry equal to k (n>=0; 0<=k<=n/2).

Table of values

n a(n)
0 1
1 3
2 3
3 6
4 9
5 18
6 9
7 36
8 36
9 27
10 108
11 108
12 27
13 162
14 324
15 216
16 81
17 486
18 972
19 648
20 81
21 648
22 1944
23 2592
24 1296
25 243
26 1944
27 5832
28 7776
29 3888
30 243
31 2430
32 9720
33 19440
34 19440
35 7776
36 729
37 7290
38 29160
39 58320
40 58320
41 23328
42 729
43 8748
44 43740
45 116640
46 174960
47 139968
48 46656

List of values

[1, 3, 3, 6, 9, 18, 9, 36, 36, 27, 108, 108, 27, 162, 324, 216, 81, 486, 972, 648, 81, 648, 1944, 2592, 1296, 243, 1944, 5832, 7776, 3888, 243, 2430, 9720, 19440, 19440, 7776, 729, 7290, 29160, 58320, 58320, 23328, 729, 8748, 43740, 116640, 174960, 139968, 46656]