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.

A079974 Number of permutations satisfying -k<=p(i)-i<=r and p(i)-i not in I, i=1..n, with k=1, r=4, I={0,2}.

Table of values

n a(n)
0 1
1 0
2 1
3 0
4 2
5 1
6 3
7 2
8 5
9 5
10 9
11 10
12 16
13 20
14 30
15 39
16 56
17 75
18 106
19 144
20 201
21 275
22 382
23 525
24 727
25 1001
26 1384
27 1908
28 2636
29 3636
30 5021
31 6928
32 9565
33 13200
34 18222
35 25149
36 34715
37 47914
38 66137
39 91285
40 126001
41 173914
42 240052
43 331336
44 457338
45 631251
46 871304
47 1202639

List of values

[1, 0, 1, 0, 2, 1, 3, 2, 5, 5, 9, 10, 16, 20, 30, 39, 56, 75, 106, 144, 201, 275, 382, 525, 727, 1001, 1384, 1908, 2636, 3636, 5021, 6928, 9565, 13200, 18222, 25149, 34715, 47914, 66137, 91285, 126001, 173914, 240052, 331336, 457338, 631251, 871304, 1202639]