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.

A025047 Number of alternating compositions, i.e., compositions with alternating increases and decreases, starting with either an increase or a decrease.

Table of values

n a(n)
0 1
1 1
2 1
3 3
4 4
5 7
6 12
7 19
8 29
9 48
10 75
11 118
12 186
13 293
14 460
15 725
16 1139
17 1789
18 2814
19 4422
20 6949
21 10924
22 17168
23 26979
24 42404
25 66644
26 104737
27 164610
28 258707
29 406588
30 639009
31 1004287
32 1578363
33 2480606
34 3898599
35 6127152
36 9629623
37 15134213
38 23785388
39 37381849
40 58750468

List of values

[1, 1, 1, 3, 4, 7, 12, 19, 29, 48, 75, 118, 186, 293, 460, 725, 1139, 1789, 2814, 4422, 6949, 10924, 17168, 26979, 42404, 66644, 104737, 164610, 258707, 406588, 639009, 1004287, 1578363, 2480606, 3898599, 6127152, 9629623, 15134213, 23785388, 37381849, 58750468]