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.

A079956 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,4}.

Table of values

n a(n)
0 1
1 0
2 0
3 1
4 1
5 0
6 2
7 2
8 1
9 3
10 5
11 3
12 6
13 10
14 9
15 12
16 21
17 22
18 27
19 43
20 52
21 61
22 91
23 117
24 140
25 195
26 260
27 318
28 426
29 572
30 718
31 939
32 1258
33 1608
34 2083
35 2769
36 3584
37 4630
38 6110
39 7961
40 10297
41 13509
42 17655
43 22888
44 29916
45 39125
46 50840
47 66313
48 86696
49 112853
50 147069
51 192134

List of values

[1, 0, 0, 1, 1, 0, 2, 2, 1, 3, 5, 3, 6, 10, 9, 12, 21, 22, 27, 43, 52, 61, 91, 117, 140, 195, 260, 318, 426, 572, 718, 939, 1258, 1608, 2083, 2769, 3584, 4630, 6110, 7961, 10297, 13509, 17655, 22888, 29916, 39125, 50840, 66313, 86696, 112853, 147069, 192134]