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.

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

Table of values

n a(n)
0 1
1 1
2 1
3 2
4 4
5 9
6 15
7 25
8 46
9 84
10 156
11 280
12 501
13 909
14 1647
15 2990
16 5408
17 9773
18 17695
19 32033
20 58000
21 104976
22 189968
23 343860
24 622409
25 1126617
26 2039201
27 3690898
28 6680644
29 12092173
30 21887215
31 39616409
32 71706406
33 129790404
34 234923948

List of values

[1, 1, 1, 2, 4, 9, 15, 25, 46, 84, 156, 280, 501, 909, 1647, 2990, 5408, 9773, 17695, 32033, 58000, 104976, 189968, 343860, 622409, 1126617, 2039201, 3690898, 6680644, 12092173, 21887215, 39616409, 71706406, 129790404, 234923948]