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.

A325589 Number of compositions of n whose circular differences are all 1 or -1.

Table of values

n a(n)
1 0
2 0
3 2
4 0
5 2
6 2
7 2
8 4
9 4
10 2
11 8
12 6
13 8
14 10
15 12
16 16
17 18
18 20
19 28
20 34
21 42
22 48
23 62
24 78
25 92
26 112
27 146
28 174
29 216
30 264
31 326
32 412
33 500
34 614
35 770
36 944
37 1166
38 1444
39 1784
40 2214
41 2730
42 3366
43 4182
44 5164
45 6386
46 7898
47 9770
48 12098
49 14950
50 18488
51 22894
52 28312
53 35020
54 43330
55 53606

List of values

[0, 0, 2, 0, 2, 2, 2, 4, 4, 2, 8, 6, 8, 10, 12, 16, 18, 20, 28, 34, 42, 48, 62, 78, 92, 112, 146, 174, 216, 264, 326, 412, 500, 614, 770, 944, 1166, 1444, 1784, 2214, 2730, 3366, 4182, 5164, 6386, 7898, 9770, 12098, 14950, 18488, 22894, 28312, 35020, 43330, 53606]