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.

A119827 Number of ternary words of length n with exactly one 000.

Table of values

n a(n)
0 0
1 0
2 0
3 1
4 4
5 16
6 60
7 212
8 728
9 2444
10 8064
11 26256
12 84576
13 270048
14 855936
15 2696080
16 8446912
17 26341696
18 81812544
19 253181888
20 781005440
21 2402311616
22 7370247168
23 22558917120
24 68901651456
25 210037106688
26 639127277568
27 1941624275200
28 5889576530944
29 17839902853120

List of values

[0, 0, 0, 1, 4, 16, 60, 212, 728, 2444, 8064, 26256, 84576, 270048, 855936, 2696080, 8446912, 26341696, 81812544, 253181888, 781005440, 2402311616, 7370247168, 22558917120, 68901651456, 210037106688, 639127277568, 1941624275200, 5889576530944, 17839902853120]