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.

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

Table of values

n a(n)
0 1
1 0
2 1
3 0
4 2
5 1
6 4
7 2
8 7
9 5
10 14
11 12
12 27
13 26
14 53
15 57
16 106
17 122
18 212
19 258
20 428
21 543
22 868
23 1135
24 1766
25 2364
26 3605
27 4910
28 7374
29 10175
30 15109
31 21054
32 30998
33 43513
34 63656
35 89851
36 130817
37 185416
38 268984
39 382436
40 553308
41 788520
42 1138525
43 1625356
44 2343253

List of values

[1, 0, 1, 0, 2, 1, 4, 2, 7, 5, 14, 12, 27, 26, 53, 57, 106, 122, 212, 258, 428, 543, 868, 1135, 1766, 2364, 3605, 4910, 7374, 10175, 15109, 21054, 30998, 43513, 63656, 89851, 130817, 185416, 268984, 382436, 553308, 788520, 1138525, 1625356, 2343253]