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.

A338229 Number of ternary strings of length n that contain at least one 0 and at most two 1's.

Table of values

n a(n)
0 0
1 1
2 5
3 19
4 61
5 176
6 474
7 1219
8 3035
9 7378
10 17608
11 41405
12 96177
13 221092
14 503702
15 1138567
16 2555767
17 5701478
18 12648276
19 27918145
20 61341485
21 134217496
22 292552450
23 635436779
24 1375731411
25 2969566906
26 6392118944
27 13723762309
28 29393682025
29 62813896268
30 133949292078
31 285078453775
32 605590388207

List of values

[0, 1, 5, 19, 61, 176, 474, 1219, 3035, 7378, 17608, 41405, 96177, 221092, 503702, 1138567, 2555767, 5701478, 12648276, 27918145, 61341485, 134217496, 292552450, 635436779, 1375731411, 2969566906, 6392118944, 13723762309, 29393682025, 62813896268, 133949292078, 285078453775, 605590388207]