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.

A119915 Number of ternary words of length n and having exactly one run of 0's of odd length.

Table of values

n a(n)
0 0
1 1
2 4
3 13
4 40
5 117
6 332
7 921
8 2512
9 6761
10 18004
11 47525
12 124536
13 324317
14 840092
15 2166065
16 5562272
17 14232273
18 36300196
19 92321085
20 234192584
21 592695109
22 1496810732
23 3772761289
24 9492450672
25 23844342073
26 59804611060
27 149787196117

List of values

[0, 1, 4, 13, 40, 117, 332, 921, 2512, 6761, 18004, 47525, 124536, 324317, 840092, 2166065, 5562272, 14232273, 36300196, 92321085, 234192584, 592695109, 1496810732, 3772761289, 9492450672, 23844342073, 59804611060, 149787196117]