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.

A130152 Triangle read by rows: T(n,k) = number of permutations p of [n] such that max(|p(i)-i|)=k (n>=1, 0<=k<=n-1).

Table of values

n a(n)
1 1
2 1
3 1
4 1
5 2
6 3
7 1
8 4
9 9
10 10
11 1
12 7
13 23
14 47
15 42
16 1
17 12
18 60
19 157
20 274
21 216
22 1
23 20
24 151
25 503
26 1227
27 1818
28 1320
29 1
30 33
31 366
32 1669
33 4833
34 10402
35 13656
36 9360
37 1
38 54
39 877
40 5472
41 18827
42 50879
43 96090
44 115080
45 75600
46 1
47 88
48 2088
49 17531
50 75693
51 234061
52 569602
53 966456
54 1077840
55 685440
56 1
57 143
58 4937
59 55135
60 304900
61 1076807
62 3111243
63 6791994
64 10553640
65 11123280
66 6894720

List of values

[1, 1, 1, 1, 2, 3, 1, 4, 9, 10, 1, 7, 23, 47, 42, 1, 12, 60, 157, 274, 216, 1, 20, 151, 503, 1227, 1818, 1320, 1, 33, 366, 1669, 4833, 10402, 13656, 9360, 1, 54, 877, 5472, 18827, 50879, 96090, 115080, 75600, 1, 88, 2088, 17531, 75693, 234061, 569602, 966456, 1077840, 685440, 1, 143, 4937, 55135, 304900, 1076807, 3111243, 6791994, 10553640, 11123280, 6894720]