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.

A239791 Number of compositions of n with no consecutive 2's.

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 7
5 14
6 28
7 54
8 105
9 205
10 399
11 777
12 1514
13 2949
14 5744
15 11189
16 21795
17 42454
18 82696
19 161083
20 313772
21 611194
22 1190540
23 2319043
24 4517245
25 8799105
26 17139705
27 33386292
28 65032887
29 126677032
30 246753161
31 480648477
32 936251262
33 1823716224
34 3552402011
35 6919695006
36 13478817664
37 26255279382
38 51142445325

List of values

[1, 1, 2, 4, 7, 14, 28, 54, 105, 205, 399, 777, 1514, 2949, 5744, 11189, 21795, 42454, 82696, 161083, 313772, 611194, 1190540, 2319043, 4517245, 8799105, 17139705, 33386292, 65032887, 126677032, 246753161, 480648477, 936251262, 1823716224, 3552402011, 6919695006, 13478817664, 26255279382, 51142445325]