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.

A079816 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={1}.

Table of values

n a(n)
0 1
1 1
2 1
3 2
4 4
5 7
6 12
7 20
8 34
9 59
10 102
11 175
12 300
13 515
14 885
15 1521
16 2613
17 4488
18 7709
19 13243
20 22750
21 39081
22 67134
23 115324
24 198107
25 340315
26 584604
27 1004250
28 1725130
29 2963480
30 5090756
31 8745055
32 15022519
33 25806135
34 44330556
35 76152366
36 130816831

List of values

[1, 1, 1, 2, 4, 7, 12, 20, 34, 59, 102, 175, 300, 515, 885, 1521, 2613, 4488, 7709, 13243, 22750, 39081, 67134, 115324, 198107, 340315, 584604, 1004250, 1725130, 2963480, 5090756, 8745055, 15022519, 25806135, 44330556, 76152366, 130816831]