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.

A079973 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={0,3}.

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 1
5 3
6 2
7 5
8 6
9 8
10 14
11 16
12 27
13 36
14 51
15 77
16 103
17 155
18 216
19 309
20 448
21 628
22 912
23 1292
24 1849
25 2652
26 3769
27 5413
28 7713
29 11031
30 15778
31 22513
32 32222
33 46004
34 65766
35 94004
36 134283
37 191992
38 274291
39 392041
40 560287
41 800615
42 1144320
43 1635193
44 2336976

List of values

[1, 0, 1, 1, 1, 3, 2, 5, 6, 8, 14, 16, 27, 36, 51, 77, 103, 155, 216, 309, 448, 628, 912, 1292, 1849, 2652, 3769, 5413, 7713, 11031, 15778, 22513, 32222, 46004, 65766, 94004, 134283, 191992, 274291, 392041, 560287, 800615, 1144320, 1635193, 2336976]