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.

A221542 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, starting with 0.

Table of values

n a(n)
1 0
2 0
3 1
4 0
5 2
6 1
7 0
8 3
9 4
10 2
11 0
12 4
13 8
14 10
15 3
16 0
17 5
18 14
19 30
20 22
21 5
22 0
23 6
24 22
25 68
26 103
27 54
28 8
29 0
30 7
31 32
32 130
33 303
34 364
35 134
36 13
37 0
38 8
39 44
40 222
41 716
42 1386
43 1276
44 334
45 21
46 0
47 9
48 58
49 350
50 1455
51 4018
52 6311
53 4483
54 822
55 34
56 0
57 10
58 74
59 520
60 2658
61 9665
62 22466
63 28762
64 15740
65 2014
66 55
67 0
68 11

List of values

[0, 0, 1, 0, 2, 1, 0, 3, 4, 2, 0, 4, 8, 10, 3, 0, 5, 14, 30, 22, 5, 0, 6, 22, 68, 103, 54, 8, 0, 7, 32, 130, 303, 364, 134, 13, 0, 8, 44, 222, 716, 1386, 1276, 334, 21, 0, 9, 58, 350, 1455, 4018, 6311, 4483, 822, 34, 0, 10, 74, 520, 2658, 9665, 22466, 28762, 15740, 2014, 55, 0, 11]