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.

A080006 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={0,2}.

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 3
5 5
6 8
7 16
8 27
9 51
10 91
11 164
12 298
13 536
14 972
15 1755
16 3172
17 5735
18 10363
19 18735
20 33861
21 61204
22 110628
23 199957
24 361427
25 653277
26 1180800
27 2134300
28 3857748
29 6972892
30 12603513
31 22780876
32 41176481
33 74426569
34 134526179
35 243156337

List of values

[1, 0, 1, 1, 3, 5, 8, 16, 27, 51, 91, 164, 298, 536, 972, 1755, 3172, 5735, 10363, 18735, 33861, 61204, 110628, 199957, 361427, 653277, 1180800, 2134300, 3857748, 6972892, 12603513, 22780876, 41176481, 74426569, 134526179, 243156337]