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.

A335471 Number of compositions of n avoiding the pattern (1,2,1).

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 7
5 13
6 23
7 40
8 67
9 115
10 190
11 311
12 505
13 807
14 1285
15 2031
16 3164
17 4896
18 7550
19 11499
20 17480
21 26379
22 39558
23 58946
24 87469
25 129051
26 189484
27 277143
28 403477
29 584653
30 844236
31 1213743
32 1738372
33 2481770
34 3528698
35 5003364
36 7070225
37 9958387
38 13982822
39 19580613
40 27333403

List of values

[1, 1, 2, 4, 7, 13, 23, 40, 67, 115, 190, 311, 505, 807, 1285, 2031, 3164, 4896, 7550, 11499, 17480, 26379, 39558, 58946, 87469, 129051, 189484, 277143, 403477, 584653, 844236, 1213743, 1738372, 2481770, 3528698, 5003364, 7070225, 9958387, 13982822, 19580613, 27333403]