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.

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

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 2
5 3
6 5
7 7
8 15
9 29
10 49
11 84
12 149
13 268
14 484
15 855
16 1508
17 2684
18 4784
19 8516
20 15134
21 26873
22 47782
23 85004
24 151149
25 268704
26 477685
27 849299
28 1510163
29 2685089
30 4773851
31 8487625
32 15090786
33 26831239
34 47705352
35 84818268
36 150803857
37 268125092

List of values

[1, 0, 0, 1, 2, 3, 5, 7, 15, 29, 49, 84, 149, 268, 484, 855, 1508, 2684, 4784, 8516, 15134, 26873, 47782, 85004, 151149, 268704, 477685, 849299, 1510163, 2685089, 4773851, 8487625, 15090786, 26831239, 47705352, 84818268, 150803857, 268125092]