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.

A309938 Triangle read by rows: T(n,k) is the number of compositions of n with k parts and differences all equal to 1 or -1.

Table of values

n a(n)
1 1
2 1
3 0
4 1
5 2
6 0
7 1
8 0
9 1
10 0
11 1
12 2
13 1
14 0
15 0
16 1
17 0
18 2
19 2
20 0
21 0
22 1
23 2
24 1
25 0
26 1
27 0
28 0
29 1
30 0
31 1
32 4
33 1
34 0
35 0
36 0
37 1
38 2
39 2
40 0
41 3
42 2
43 0
44 0
45 0
46 1
47 0
48 1
49 4
50 2
51 0
52 1
53 0
54 0
55 0
56 1
57 2
58 1
59 0
60 3
61 6
62 1
63 0
64 0
65 0
66 0
67 1
68 0
69 2
70 4
71 3
72 0
73 4
74 2
75 0
76 0
77 0
78 0
79 1
80 2
81 1
82 0
83 3
84 8
85 3
86 0
87 1
88 0
89 0
90 0
91 0

List of values

[1, 1, 0, 1, 2, 0, 1, 0, 1, 0, 1, 2, 1, 0, 0, 1, 0, 2, 2, 0, 0, 1, 2, 1, 0, 1, 0, 0, 1, 0, 1, 4, 1, 0, 0, 0, 1, 2, 2, 0, 3, 2, 0, 0, 0, 1, 0, 1, 4, 2, 0, 1, 0, 0, 0, 1, 2, 1, 0, 3, 6, 1, 0, 0, 0, 0, 1, 0, 2, 4, 3, 0, 4, 2, 0, 0, 0, 0, 1, 2, 1, 0, 3, 8, 3, 0, 1, 0, 0, 0, 0]