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.

A255630 Number of n-length ternary words avoiding runs of zeros of length 1 (mod 3).

Table of values

n a(n)
0 1
1 2
2 5
3 13
4 32
5 79
6 197
7 490
8 1217
9 3025
10 7520
11 18691
12 46457
13 115474
14 287021
15 713413
16 1773248
17 4407559
18 10955357
19 27230458
20 67683593
21 168233257
22 418157888
23 1039366555
24 2583432881
25 6421339426
26 15960778517
27 39671855677
28 98607729632

List of values

[1, 2, 5, 13, 32, 79, 197, 490, 1217, 3025, 7520, 18691, 46457, 115474, 287021, 713413, 1773248, 4407559, 10955357, 27230458, 67683593, 168233257, 418157888, 1039366555, 2583432881, 6421339426, 15960778517, 39671855677, 98607729632]