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.

A323671 Number T(n,k) of permutations p of [n] with no fixed points such that |{ j : |p(j)-j| = 1 }| = k; triangle T(n,k), n >= 0, 0 <= k <= n, read by rows.

Table of values

n a(n)
0 1
1 0
2 0
3 0
4 0
5 1
6 0
7 0
8 2
9 0
10 1
11 2
12 3
13 2
14 1
15 4
16 12
17 14
18 8
19 6
20 0
21 29
22 68
23 82
24 54
25 25
26 6
27 1
28 206
29 496
30 546
31 376
32 170
33 48
34 12
35 0
36 1708
37 3960
38 4349
39 2922
40 1353
41 430
42 98
43 12
44 1
45 15702
46 35816
47 38632
48 26048
49 12084
50 4052
51 982
52 160
53 20
54 0
55 159737
56 358786
57 383523
58 257552
59 120919
60 41508
61 10647
62 1998
63 270
64 20
65 1

List of values

[1, 0, 0, 0, 0, 1, 0, 0, 2, 0, 1, 2, 3, 2, 1, 4, 12, 14, 8, 6, 0, 29, 68, 82, 54, 25, 6, 1, 206, 496, 546, 376, 170, 48, 12, 0, 1708, 3960, 4349, 2922, 1353, 430, 98, 12, 1, 15702, 35816, 38632, 26048, 12084, 4052, 982, 160, 20, 0, 159737, 358786, 383523, 257552, 120919, 41508, 10647, 1998, 270, 20, 1]