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.

A306543 Number T(n,k) of permutations p of [n] such that |p(j)-j| >= k (for all j in [n]); triangle T(n,k), n >= 0, 0 <= k <= floor(n/2), read by rows.

Table of values

n a(n)
0 1
1 1
2 2
3 1
4 6
5 2
6 24
7 9
8 1
9 120
10 44
11 4
12 720
13 265
14 29
15 1
16 5040
17 1854
18 206
19 8
20 40320
21 14833
22 1708
23 112
24 1
25 362880
26 133496
27 15702
28 1168
29 16
30 3628800
31 1334961
32 159737
33 13365
34 436
35 1
36 39916800
37 14684570
38 1780696
39 159414
40 6984
41 32
42 479001600
43 176214841
44 21599745
45 2036488
46 114124
47 1708
48 1

List of values

[1, 1, 2, 1, 6, 2, 24, 9, 1, 120, 44, 4, 720, 265, 29, 1, 5040, 1854, 206, 8, 40320, 14833, 1708, 112, 1, 362880, 133496, 15702, 1168, 16, 3628800, 1334961, 159737, 13365, 436, 1, 39916800, 14684570, 1780696, 159414, 6984, 32, 479001600, 176214841, 21599745, 2036488, 114124, 1708, 1]