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.

A238889 Number T(n,k) of self-inverse permutations p on [n] where the maximal displacement of an element equals k: k = max_{i=1..n} |p(i)-i|; triangle T(n,k), n>=0, 0<=k<=n, read by rows.

Table of values

n a(n)
0 1
1 1
2 0
3 1
4 1
5 0
6 1
7 2
8 1
9 0
10 1
11 4
12 3
13 2
14 0
15 1
16 7
17 7
18 7
19 4
20 0
21 1
22 12
23 16
24 19
25 18
26 10
27 0
28 1
29 20
30 35
31 47
32 55
33 48
34 26
35 0
36 1
37 33
38 74
39 117
40 151
41 170
42 142
43 76
44 0
45 1
46 54
47 153
48 284
49 399
50 515
51 544
52 438
53 232
54 0
55 1
56 88
57 312
58 675
59 1061
60 1471
61 1826
62 1846
63 1452
64 764
65 0
66 1
67 143
68 629
69 1575
70 2792
71 4119
72 5651
73 6664
74 6494
75 5008
76 2620
77 0

List of values

[1, 1, 0, 1, 1, 0, 1, 2, 1, 0, 1, 4, 3, 2, 0, 1, 7, 7, 7, 4, 0, 1, 12, 16, 19, 18, 10, 0, 1, 20, 35, 47, 55, 48, 26, 0, 1, 33, 74, 117, 151, 170, 142, 76, 0, 1, 54, 153, 284, 399, 515, 544, 438, 232, 0, 1, 88, 312, 675, 1061, 1471, 1826, 1846, 1452, 764, 0, 1, 143, 629, 1575, 2792, 4119, 5651, 6664, 6494, 5008, 2620, 0]