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.

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

Table of values

n a(n)
0 1
1 0
2 0
3 0
4 0
5 1
6 1
7 0
8 0
9 0
10 1
11 4
12 1
13 1
14 1
15 1
16 10
17 10
18 7
19 7
20 11
21 20
22 50
23 40
24 49
25 61
26 85
27 175
28 225
29 265
30 323
31 461
32 665
33 1085
34 1310
35 1728
36 2290
37 3171
38 4767
39 6489
40 8618
41 11374
42 15751
43 21813
44 31263
45 41749
46 56596
47 76735
48 105514
49 147726
50 202628
51 276079
52 374275

List of values

[1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 4, 1, 1, 1, 1, 10, 10, 7, 7, 11, 20, 50, 40, 49, 61, 85, 175, 225, 265, 323, 461, 665, 1085, 1310, 1728, 2290, 3171, 4767, 6489, 8618, 11374, 15751, 21813, 31263, 41749, 56596, 76735, 105514, 147726, 202628, 276079, 374275]