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.

A295390 Number T(n,k) of permutations of [n] having exactly k consecutive 3-term arithmetic progressions; triangle T(n,k), n>=0, 0<=k<=max(n-2,0), read by rows.

Table of values

n a(n)
0 1
1 1
2 2
3 4
4 2
5 18
6 4
7 2
8 80
9 34
10 4
11 2
12 482
13 196
14 36
15 4
16 2
17 3280
18 1418
19 292
20 44
21 4
22 2
23 26244
24 11292
25 2426
26 304
27 48
28 4
29 2
30 231148
31 106132
32 22156
33 3010
34 372
35 56
36 4
37 2
38 2320130
39 1046176
40 225804
41 32308
42 3892
43 424
44 60
45 4
46 2
47 25238348
48 11679626
49 2585080
50 366484
51 42176
52 4540
53 472
54 68
55 4
56 2

List of values

[1, 1, 2, 4, 2, 18, 4, 2, 80, 34, 4, 2, 482, 196, 36, 4, 2, 3280, 1418, 292, 44, 4, 2, 26244, 11292, 2426, 304, 48, 4, 2, 231148, 106132, 22156, 3010, 372, 56, 4, 2, 2320130, 1046176, 225804, 32308, 3892, 424, 60, 4, 2, 25238348, 11679626, 2585080, 366484, 42176, 4540, 472, 68, 4, 2]