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.

A342340 Number of compositions of n where each part after the first is either twice, half, or equal to the prior part.

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 6
5 9
6 17
7 24
8 41
9 67
10 109
11 173
12 296
13 469
14 781
15 1284
16 2109
17 3450
18 5713
19 9349
20 15422
21 25351
22 41720
23 68590
24 112982
25 185753
26 305752
27 503041
28 827819
29 1361940
30 2241435
31 3687742
32 6068537
33 9985389
34 16431144
35 27036576
36 44489533
37 73205429
38 120460062
39 198214516
40 326161107

List of values

[1, 1, 2, 4, 6, 9, 17, 24, 41, 67, 109, 173, 296, 469, 781, 1284, 2109, 3450, 5713, 9349, 15422, 25351, 41720, 68590, 112982, 185753, 305752, 503041, 827819, 1361940, 2241435, 3687742, 6068537, 9985389, 16431144, 27036576, 44489533, 73205429, 120460062, 198214516, 326161107]