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.

A106351 Triangle read by rows: T(n,k) = number of compositions of n into k parts such that no two adjacent parts are equal.

Table of values

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

List of values

[1, 1, 0, 1, 2, 0, 1, 2, 1, 0, 1, 4, 2, 0, 0, 1, 4, 7, 2, 0, 0, 1, 6, 9, 6, 1, 0, 0, 1, 6, 15, 14, 3, 0, 0, 0, 1, 8, 21, 24, 15, 2, 0, 0, 0, 1, 8, 28, 46, 30, 10, 1, 0, 0, 0, 1, 10, 35, 66, 68, 30, 4, 0, 0, 0, 0, 1, 10, 46, 100, 119, 76, 24, 2, 0, 0, 0, 0, 1, 12, 54, 138, 204, 168, 69, 14, 1, 0, 0, 0, 0]