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.

A079962 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,3}.

Table of values

n a(n)
0 1
1 1
2 1
3 2
4 3
5 5
6 9
7 14
8 22
9 36
10 58
11 94
12 153
13 247
14 399
15 646
16 1045
17 1691
18 2737
19 4428
20 7164
21 11592
22 18756
23 30348
24 49105
25 79453
26 128557
27 208010
28 336567
29 544577
30 881145
31 1425722
32 2306866
33 3732588
34 6039454
35 9772042
36 15811497
37 25583539
38 41395035

List of values

[1, 1, 1, 2, 3, 5, 9, 14, 22, 36, 58, 94, 153, 247, 399, 646, 1045, 1691, 2737, 4428, 7164, 11592, 18756, 30348, 49105, 79453, 128557, 208010, 336567, 544577, 881145, 1425722, 2306866, 3732588, 6039454, 9772042, 15811497, 25583539, 41395035]