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.

A079989 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={1,2}.

Table of values

n a(n)
0 1
1 1
2 1
3 1
4 5
5 13
6 27
7 51
8 103
9 221
10 498
11 1064
12 2240
13 4728
14 10076
15 21559
16 46075
17 98085
18 208759
19 444727
20 948151
21 2021335
22 4307861
23 9179111
24 19560273
25 41686260
26 88842852
27 189337896
28 403497908
29 859893060
30 1832537757
31 3905386173
32 8322891733
33 17737112293
34 37799944529

List of values

[1, 1, 1, 1, 5, 13, 27, 51, 103, 221, 498, 1064, 2240, 4728, 10076, 21559, 46075, 98085, 208759, 444727, 948151, 2021335, 4307861, 9179111, 19560273, 41686260, 88842852, 189337896, 403497908, 859893060, 1832537757, 3905386173, 8322891733, 17737112293, 37799944529]