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.

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

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 5
5 9
6 23
7 39
8 97
9 197
10 465
11 969
12 2161
13 4605
14 10202
15 22051
16 48438
17 105028
18 229692
19 499620
20 1091268
21 2376641
22 5185742
23 11299467
24 24645179
25 53718931
26 117144203
27 255371099
28 556824105
29 1213941393
30 2646824821
31 5770590379

List of values

[1, 0, 1, 1, 5, 9, 23, 39, 97, 197, 465, 969, 2161, 4605, 10202, 22051, 48438, 105028, 229692, 499620, 1091268, 2376641, 5185742, 11299467, 24645179, 53718931, 117144203, 255371099, 556824105, 1213941393, 2646824821, 5770590379]