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.

A079961 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,4}.

Table of values

n a(n)
0 1
1 1
2 1
3 2
4 4
5 6
6 10
7 17
8 28
9 46
10 77
11 128
12 212
13 352
14 585
15 971
16 1612
17 2677
18 4445
19 7380
20 12254
21 20347
22 33784
23 56095
24 93141
25 154652
26 256785
27 426368
28 707945
29 1175477
30 1951771
31 3240736
32 5380943
33 8934559
34 14835011
35 24632167
36 40899440
37 67909746

List of values

[1, 1, 1, 2, 4, 6, 10, 17, 28, 46, 77, 128, 212, 352, 585, 971, 1612, 2677, 4445, 7380, 12254, 20347, 33784, 56095, 93141, 154652, 256785, 426368, 707945, 1175477, 1951771, 3240736, 5380943, 8934559, 14835011, 24632167, 40899440, 67909746]