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.

A277666 Number A(n,k) of n-length words over a k-ary alphabet {a_1,a_2,...,a_k} avoiding consecutive letters a_i, a_{i+1}; 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 2
8 1
9 0
10 1
11 3
12 3
13 1
14 0
15 1
16 4
17 7
18 4
19 1
20 0
21 1
22 5
23 13
24 16
25 5
26 1
27 0
28 1
29 6
30 21
31 42
32 37
33 6
34 1
35 0
36 1
37 7
38 31
39 88
40 136
41 86
42 7
43 1
44 0
45 1
46 8
47 43
48 160
49 369
50 440
51 200
52 8
53 1
54 0
55 1
56 9
57 57
58 264
59 826
60 1547
61 1423
62 465
63 9
64 1
65 0
66 1
67 10
68 73
69 406
70 1621
71 4264
72 6486
73 4602
74 1081
75 10
76 1
77 0

List of values

[1, 1, 0, 1, 1, 0, 1, 2, 1, 0, 1, 3, 3, 1, 0, 1, 4, 7, 4, 1, 0, 1, 5, 13, 16, 5, 1, 0, 1, 6, 21, 42, 37, 6, 1, 0, 1, 7, 31, 88, 136, 86, 7, 1, 0, 1, 8, 43, 160, 369, 440, 200, 8, 1, 0, 1, 9, 57, 264, 826, 1547, 1423, 465, 9, 1, 0, 1, 10, 73, 406, 1621, 4264, 6486, 4602, 1081, 10, 1, 0]