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.

A354408 Triangle read by rows of generalized ménage numbers: T(n,k) is the number of permutations pi in S_n such that pi(i) != i and pi(i) != i+k (mod n) for all i; n, 1 <= k < n.

Table of values

n a(n)
2 0
3 1
4 1
5 2
6 4
7 2
8 13
9 13
10 13
11 13
12 80
13 82
14 80
15 82
16 80
17 579
18 579
19 579
20 579
21 579
22 579
23 4738
24 4740
25 4738
26 4752
27 4738
28 4740
29 4738
30 43387
31 43387
32 43390
33 43387
34 43387
35 43390
36 43387
37 43387
38 439792
39 439794
40 439792
41 439794
42 440192
43 439794
44 439792
45 439794
46 439792

List of values

[0, 1, 1, 2, 4, 2, 13, 13, 13, 13, 80, 82, 80, 82, 80, 579, 579, 579, 579, 579, 579, 4738, 4740, 4738, 4752, 4738, 4740, 4738, 43387, 43387, 43390, 43387, 43387, 43390, 43387, 43387, 439792, 439794, 439792, 439794, 440192, 439794, 439792, 439794, 439792]