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.

A240608 Number A(n,k) of n-length words w over a k-ary alphabet such that w is empty or a prefix z concatenated with letter a_i and i=1 or 0 < #(z,a_{i-1}) >= #(z,a_i), where #(z,a_i) counts the occurrences of the i-th letter in z; square array A(n,k), n>=0, k>=0, read by antidiagonals.

Table of values

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

List of values

[1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 2, 1, 0, 1, 1, 2, 4, 1, 0, 1, 1, 2, 5, 7, 1, 0, 1, 1, 2, 5, 13, 14, 1, 0, 1, 1, 2, 5, 14, 35, 25, 1, 0, 1, 1, 2, 5, 14, 45, 94, 50, 1, 0, 1, 1, 2, 5, 14, 46, 149, 254, 91, 1, 0, 1, 1, 2, 5, 14, 46, 164, 509, 688, 182, 1, 0, 1, 1, 2, 5, 14, 46, 165, 629, 1756, 1872, 336, 1, 0]