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.

A283613 T(n,k) = number of linear arrays of n 1's, n -1's, and k 0's such that no two adjacent elements are equal.

Table of values

n a(n)
0 1
1 1
2 2
3 6
4 6
5 2
6 2
7 12
8 30
9 38
10 24
11 6
12 2
13 18
14 74
15 174
16 248
17 212
18 100
19 20
20 2
21 24
22 138
23 480
24 1092
25 1668
26 1700
27 1110
28 420
29 70
30 2
31 30
32 222
33 1026
34 3228
35 7188
36 11492
37 13140
38 10500
39 5572
40 1764
41 252
42 2
43 36
44 326
45 1882
46 7580
47 22274
48 48852
49 80672
50 100044
51 91840
52 60564
53 27132
54 7392
55 924
56 2
57 42
58 450
59 3118
60 15324
61 56040
62 156664
63 339720
64 574716
65 757148
66 769356
67 591444
68 332640
69 129096
70 30888
71 3432
72 2
73 48
74 594
75 4804
76 27888
77 122136
78 415576
79 1118268
80 2403588
81 4143116
82 5719788
83 6281856
84 5416488
85 3586968
86 1760616
87 603174
88 128700
89 12870

List of values

[1, 1, 2, 6, 6, 2, 2, 12, 30, 38, 24, 6, 2, 18, 74, 174, 248, 212, 100, 20, 2, 24, 138, 480, 1092, 1668, 1700, 1110, 420, 70, 2, 30, 222, 1026, 3228, 7188, 11492, 13140, 10500, 5572, 1764, 252, 2, 36, 326, 1882, 7580, 22274, 48852, 80672, 100044, 91840, 60564, 27132, 7392, 924, 2, 42, 450, 3118, 15324, 56040, 156664, 339720, 574716, 757148, 769356, 591444, 332640, 129096, 30888, 3432, 2, 48, 594, 4804, 27888, 122136, 415576, 1118268, 2403588, 4143116, 5719788, 6281856, 5416488, 3586968, 1760616, 603174, 128700, 12870]