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.

A120908 Sum of the lengths of the drops in all ternary words of length n on {0,1,2}. The drops of a ternary word on {0,1,2} are the subwords 10,20 and 21, their lengths being the differences 1, 2 and 1, respectively.

Table of values

n a(n)
1 0
2 4
3 24
4 108
5 432
6 1620
7 5832
8 20412
9 69984
10 236196
11 787320
12 2598156
13 8503056
14 27634932
15 89282088
16 286978140
17 918330048
18 2927177028
19 9298091736
20 29443957164
21 92980917360
22 292889889684
23 920511081864
24 2887057484028

List of values

[0, 4, 24, 108, 432, 1620, 5832, 20412, 69984, 236196, 787320, 2598156, 8503056, 27634932, 89282088, 286978140, 918330048, 2927177028, 9298091736, 29443957164, 92980917360, 292889889684, 920511081864, 2887057484028]