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.

A212322 Number of compositions of n such that no two adjacent parts are equal, and the first part is not equal to the last part if there is more than one part.

Table of values

n a(n)
0 1
1 1
2 1
3 3
4 3
5 5
6 13
7 17
8 29
9 55
10 99
11 161
12 293
13 507
14 881
15 1561
16 2727
17 4743
18 8337
19 14579
20 25497
21 44675
22 78173
23 136753
24 239437
25 419077
26 733377
27 1283701
28 2246823
29 3932249
30 6882603
31 12046313
32 21083545
33 36901587
34 64586887
35 113042011
36 197851265
37 346287829
38 606086169

List of values

[1, 1, 1, 3, 3, 5, 13, 17, 29, 55, 99, 161, 293, 507, 881, 1561, 2727, 4743, 8337, 14579, 25497, 44675, 78173, 136753, 239437, 419077, 733377, 1283701, 2246823, 3932249, 6882603, 12046313, 21083545, 36901587, 64586887, 113042011, 197851265, 346287829, 606086169]