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.

A064482 Triangle read by rows: T(n,k) (n >= 2, 1<=k<=n-1) is the number of permutations p of 1,...,n with max(|p(i)-p(i-1)|, i=2..n) = k.

Table of values

n a(n)
2 2
3 2
4 4
5 2
6 10
7 12
8 2
9 18
10 52
11 48
12 2
13 32
14 146
15 300
16 240
17 2
18 54
19 372
20 1204
21 1968
22 1440
23 2
24 86
25 954
26 4082
27 10476
28 14640
29 10080
30 2
31 134
32 2376
33 13348
34 46012
35 97968
36 122400
37 80640
38 2
39 206
40 5704
41 44274
42 186202
43 536652
44 990960
45 1139040
46 725760
47 2
48 312
49 13278
50 145216
51 742940
52 2655004
53 6562128
54 10847520
55 11692800
56 7257600

List of values

[2, 2, 4, 2, 10, 12, 2, 18, 52, 48, 2, 32, 146, 300, 240, 2, 54, 372, 1204, 1968, 1440, 2, 86, 954, 4082, 10476, 14640, 10080, 2, 134, 2376, 13348, 46012, 97968, 122400, 80640, 2, 206, 5704, 44274, 186202, 536652, 990960, 1139040, 725760, 2, 312, 13278, 145216, 742940, 2655004, 6562128, 10847520, 11692800, 7257600]