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.

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

Table of values

n a(n)
0 1
1 1
2 1
3 1
4 2
5 4
6 6
7 8
8 11
9 17
10 27
11 41
12 60
13 88
14 132
15 200
16 301
17 449
18 669
19 1001
20 1502
21 2252
22 3370
23 5040
24 7543
25 11297
26 16919
27 25329
28 37912
29 56752
30 84968
31 127216
32 190457
33 285121
34 426841
35 639025
36 956698
37 1432276
38 2144238
39 3210104
40 4805827
41 7194801

List of values

[1, 1, 1, 1, 2, 4, 6, 8, 11, 17, 27, 41, 60, 88, 132, 200, 301, 449, 669, 1001, 1502, 2252, 3370, 5040, 7543, 11297, 16919, 25329, 37912, 56752, 84968, 127216, 190457, 285121, 426841, 639025, 956698, 1432276, 2144238, 3210104, 4805827, 7194801]