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.

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

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 1
5 1
6 1
7 3
8 3
9 4
10 6
11 9
12 12
13 16
14 24
15 33
16 46
17 64
18 91
19 127
20 177
21 249
22 349
23 489
24 684
25 960
26 1345
27 1884
28 2640
29 3700
30 5185
31 7264
32 10180
33 14265
34 19989
35 28009
36 39249
37 54999
38 77067
39 107992
40 151326
41 212049
42 297136
43 416368
44 583444
45 817561
46 1145622
47 1605324
48 2249491
49 3152139
50 4416993

List of values

[1, 0, 0, 1, 1, 1, 1, 3, 3, 4, 6, 9, 12, 16, 24, 33, 46, 64, 91, 127, 177, 249, 349, 489, 684, 960, 1345, 1884, 2640, 3700, 5185, 7264, 10180, 14265, 19989, 28009, 39249, 54999, 77067, 107992, 151326, 212049, 297136, 416368, 583444, 817561, 1145622, 1605324, 2249491, 3152139, 4416993]