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.

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

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 2
5 4
6 4
7 8
8 19
9 32
10 56
11 97
12 180
13 336
14 592
15 1064
16 1925
17 3488
18 6312
19 11345
20 20486
21 37028
22 66852
23 120688
24 217767
25 393216
26 710032
27 1281729
28 2313896
29 4177216
30 7541568
31 13615344
32 24579657
33 44374528
34 80111088
35 144628065
36 261102474

List of values

[1, 0, 0, 1, 2, 4, 4, 8, 19, 32, 56, 97, 180, 336, 592, 1064, 1925, 3488, 6312, 11345, 20486, 37028, 66852, 120688, 217767, 393216, 710032, 1281729, 2313896, 4177216, 7541568, 13615344, 24579657, 44374528, 80111088, 144628065, 261102474]