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.

A109634 Number of 1's that appear among all ternary strings of length n that contain no consecutive 1's.

Table of values

n a(n)
0 0
1 1
2 4
3 16
4 56
5 188
6 608
7 1920
8 5952
9 18192
10 54976
11 164608
12 489088
13 1443776
14 4238336
15 12382208
16 36022272
17 104407296
18 301618176
19 868765696
20 2495715328
21 7152286720
22 20452548608
23 58369409024
24 166276481024
25 472876388352

List of values

[0, 1, 4, 16, 56, 188, 608, 1920, 5952, 18192, 54976, 164608, 489088, 1443776, 4238336, 12382208, 36022272, 104407296, 301618176, 868765696, 2495715328, 7152286720, 20452548608, 58369409024, 166276481024, 472876388352]