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.

A080008 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={-1,0}.

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 2
5 2
6 3
7 5
8 11
9 15
10 24
11 40
12 68
13 110
14 177
15 290
16 480
17 783
18 1278
19 2090
20 3427
21 5609
22 9171
23 15005
24 24564
25 40200
26 65776
27 107628
28 176137
29 288244
30 471676
31 771845
32 1263074
33 2066938
34 3382367
35 5534941
36 9057495
37 14821891
38 24254820
39 39691008

List of values

[1, 0, 0, 1, 2, 2, 3, 5, 11, 15, 24, 40, 68, 110, 177, 290, 480, 783, 1278, 2090, 3427, 5609, 9171, 15005, 24564, 40200, 65776, 107628, 176137, 288244, 471676, 771845, 1263074, 2066938, 3382367, 5534941, 9057495, 14821891, 24254820, 39691008]