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.

A221573 T(n,k)=Number of 0..k arrays of length n with each element differing from at least one neighbor by something other than 1.

Table of values

n a(n)
1 0
2 0
3 2
4 0
5 5
6 2
7 0
8 10
9 9
10 4
11 0
12 17
13 26
14 25
15 6
16 0
17 26
18 59
19 100
20 57
21 10
22 0
23 37
24 114
25 289
26 342
27 141
28 16
29 0
30 50
31 197
32 676
33 1293
34 1210
35 345
36 26
37 0
38 65
39 314
40 1369
41 3734
42 5913
43 4240
44 853
45 42
46 0
47 82
48 471
49 2500
50 8991
51 20944
52 26911
53 14898
54 2097
55 68
56 0
57 101
58 674
59 4225
60 19014

List of values

[0, 0, 2, 0, 5, 2, 0, 10, 9, 4, 0, 17, 26, 25, 6, 0, 26, 59, 100, 57, 10, 0, 37, 114, 289, 342, 141, 16, 0, 50, 197, 676, 1293, 1210, 345, 26, 0, 65, 314, 1369, 3734, 5913, 4240, 853, 42, 0, 82, 471, 2500, 8991, 20944, 26911, 14898, 2097, 68, 0, 101, 674, 4225, 19014]