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.

A259776 Number A(n,k) of permutations p of [n] with no fixed points and displacement of elements restricted by k: 1 <= |p(i)-i| <= k, square array A(n,k), n>=0, k>=0, read by antidiagonals.

Table of values

n a(n)
0 1
1 1
2 0
3 1
4 0
5 0
6 1
7 0
8 1
9 0
10 1
11 0
12 1
13 0
14 0
15 1
16 0
17 1
18 2
19 1
20 0
21 1
22 0
23 1
24 2
25 4
26 0
27 0
28 1
29 0
30 1
31 2
32 9
33 6
34 1
35 0
36 1
37 0
38 1
39 2
40 9
41 24
42 13
43 0
44 0
45 1
46 0
47 1
48 2
49 9
50 44
51 57
52 24
53 1
54 0
55 1
56 0
57 1
58 2
59 9
60 44
61 168
62 140
63 45
64 0
65 0
66 1
67 0
68 1
69 2
70 9
71 44
72 265
73 536
74 376
75 84
76 1
77 0

List of values

[1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 4, 0, 0, 1, 0, 1, 2, 9, 6, 1, 0, 1, 0, 1, 2, 9, 24, 13, 0, 0, 1, 0, 1, 2, 9, 44, 57, 24, 1, 0, 1, 0, 1, 2, 9, 44, 168, 140, 45, 0, 0, 1, 0, 1, 2, 9, 44, 265, 536, 376, 84, 1, 0]