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.

A249631 Number of permutations p of {1,...,n} such that |p(i+1)-p(i)| < k, k=2,...,n; T(n,k), read by rows.

Table of values

n a(n)
2 2
3 2
4 6
5 2
6 12
7 24
8 2
9 20
10 72
11 120
12 2
13 34
14 180
15 480
16 720
17 2
18 56
19 428
20 1632
21 3600
22 5040
23 2
24 88
25 1042
26 5124
27 15600
28 30240
29 40320
30 2
31 136
32 2512
33 15860
34 61872
35 159840
36 282240
37 362880
38 2
39 208
40 5912
41 50186
42 236388
43 773040
44 1764000
45 2903040
46 3628800

List of values

[2, 2, 6, 2, 12, 24, 2, 20, 72, 120, 2, 34, 180, 480, 720, 2, 56, 428, 1632, 3600, 5040, 2, 88, 1042, 5124, 15600, 30240, 40320, 2, 136, 2512, 15860, 61872, 159840, 282240, 362880, 2, 208, 5912, 50186, 236388, 773040, 1764000, 2903040, 3628800]