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.

A080001 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,2}.

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 1
5 1
6 1
7 2
8 4
9 3
10 4
11 8
12 10
13 13
14 16
15 24
16 36
17 43
18 59
19 85
20 115
21 156
22 207
23 289
24 401
25 533
26 729
27 1002
28 1368
29 1864
30 2526
31 3465
32 4740
33 6436
34 8785
35 11995
36 16375
37 22331
38 30420
39 41550
40 56705
41 77296
42 105456
43 143874
44 196321
45 267792
46 365216
47 498356

List of values

[1, 0, 0, 1, 1, 1, 1, 2, 4, 3, 4, 8, 10, 13, 16, 24, 36, 43, 59, 85, 115, 156, 207, 289, 401, 533, 729, 1002, 1368, 1864, 2526, 3465, 4740, 6436, 8785, 11995, 16375, 22331, 30420, 41550, 56705, 77296, 105456, 143874, 196321, 267792, 365216, 498356]