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.

A079955 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,3}.

Table of values

n a(n)
0 1
1 0
2 1
3 0
4 1
5 1
6 2
7 2
8 3
9 3
10 5
11 6
12 9
13 11
14 15
15 19
16 26
17 34
18 46
19 60
20 80
21 105
22 140
23 185
24 246
25 325
26 431
27 570
28 756
29 1001
30 1327
31 1757
32 2328
33 3083
34 4085
35 5411
36 7169
37 9496
38 12580
39 16664
40 22076
41 29244
42 38741
43 51320
44 67985
45 90060
46 119305
47 158045
48 209366
49 277350
50 367411

List of values

[1, 0, 1, 0, 1, 1, 2, 2, 3, 3, 5, 6, 9, 11, 15, 19, 26, 34, 46, 60, 80, 105, 140, 185, 246, 325, 431, 570, 756, 1001, 1327, 1757, 2328, 3083, 4085, 5411, 7169, 9496, 12580, 16664, 22076, 29244, 38741, 51320, 67985, 90060, 119305, 158045, 209366, 277350, 367411]