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.

A079964 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={0,4}.

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 2
5 2
6 5
7 5
8 10
9 13
10 22
11 30
12 50
13 70
14 112
15 163
16 254
17 375
18 579
19 862
20 1320
21 1979
22 3015
23 4536
24 6893
25 10392
26 15764
27 23800
28 36064
29 54492
30 82521
31 124748
32 188841
33 285561
34 432174
35 653642
36 989097
37 1496125
38 2263754
39 3424425
40 5181150
41 7837946

List of values

[1, 0, 1, 1, 2, 2, 5, 5, 10, 13, 22, 30, 50, 70, 112, 163, 254, 375, 579, 862, 1320, 1979, 3015, 4536, 6893, 10392, 15764, 23800, 36064, 54492, 82521, 124748, 188841, 285561, 432174, 653642, 989097, 1496125, 2263754, 3424425, 5181150, 7837946]