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.

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

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 0
5 1
6 2
7 0
8 2
9 3
10 1
11 5
12 5
13 3
14 10
15 9
16 9
17 20
18 17
19 22
20 39
21 35
22 51
23 76
24 74
25 112
26 150
27 160
28 239
29 300
30 346
31 501
32 610
33 745
34 1040
35 1256
36 1592
37 2151
38 2611
39 3377
40 4447
41 5459
42 7120
43 9209
44 11447
45 14944
46 19115
47 24026
48 31273
49 39771
50 50417
51 65332
52 82912
53 105716

List of values

[1, 0, 0, 1, 0, 1, 2, 0, 2, 3, 1, 5, 5, 3, 10, 9, 9, 20, 17, 22, 39, 35, 51, 76, 74, 112, 150, 160, 239, 300, 346, 501, 610, 745, 1040, 1256, 1592, 2151, 2611, 3377, 4447, 5459, 7120, 9209, 11447, 14944, 19115, 24026, 31273, 39771, 50417, 65332, 82912, 105716]