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.

A199898 T(n,k)=Number of -k..k arrays x(0..n-1) of n elements with zero sum, and adjacent elements not both strictly positive and not both strictly negative.

Table of values

n a(n)
1 1
2 1
3 3
4 1
5 5
6 7
7 1
8 7
9 15
10 15
11 1
12 9
13 25
14 49
15 33
16 1
17 11
18 37
19 111
20 159
21 75
22 1
23 13
24 51
25 209
26 461
27 533
28 171
29 1
30 15
31 67
32 351
33 1043
34 2035
35 1783
36 391
37 1
38 17
39 85
40 545
41 2031
42 5725
43 8823
44 6027
45 899
46 1
47 19
48 105
49 799
50 3573
51 13363
52 30199
53 39053
54 20437
55 2077
56 1
57 21
58 127
59 1121
60 5839

List of values

[1, 1, 3, 1, 5, 7, 1, 7, 15, 15, 1, 9, 25, 49, 33, 1, 11, 37, 111, 159, 75, 1, 13, 51, 209, 461, 533, 171, 1, 15, 67, 351, 1043, 2035, 1783, 391, 1, 17, 85, 545, 2031, 5725, 8823, 6027, 899, 1, 19, 105, 799, 3573, 13363, 30199, 39053, 20437, 2077, 1, 21, 127, 1121, 5839]