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.

A079959 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={2,4}.

Table of values

n a(n)
0 1
1 1
2 2
3 3
4 6
5 10
6 19
7 33
8 60
9 106
10 191
11 340
12 610
13 1089
14 1950
15 3485
16 6236
17 11150
18 19946
19 35670
20 63802
21 114107
22 204091
23 365018
24 652857
25 1167652
26 2088402
27 3735179
28 6680529
29 11948378
30 21370166
31 38221375
32 68360472
33 122265404
34 218676571

List of values

[1, 1, 2, 3, 6, 10, 19, 33, 60, 106, 191, 340, 610, 1089, 1950, 3485, 6236, 11150, 19946, 35670, 63802, 114107, 204091, 365018, 652857, 1167652, 2088402, 3735179, 6680529, 11948378, 21370166, 38221375, 68360472, 122265404, 218676571]