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.

A339942 Triangle read by rows: T(n,k) is the number of permutations of the cyclic group Z/nZ whose longest embedded arithmetic progression has length k.

Table of values

n a(n)
1 1
2 0
3 2
4 0
5 0
6 6
7 0
8 8
9 8
10 8
11 0
12 0
13 40
14 60
15 20
16 0
17 0
18 468
19 192
20 48
21 12
22 0
23 0
24 462
25 3150
26 1176
27 210
28 42
29 0
30 128
31 4192
32 27872
33 6592
34 1312
35 192
36 32
37 0
38 0
39 57402
40 182790
41 99630
42 19656
43 2970
44 378
45 54
46 0
47 0
48 67440
49 1795320
50 1594640
51 146200
52 22000
53 2840
54 320
55 40
56 0
57 0
58 61050
59 17433130
60 17373620
61 4289340
62 662860
63 85910
64 9790
65 990
66 110

List of values

[1, 0, 2, 0, 0, 6, 0, 8, 8, 8, 0, 0, 40, 60, 20, 0, 0, 468, 192, 48, 12, 0, 0, 462, 3150, 1176, 210, 42, 0, 128, 4192, 27872, 6592, 1312, 192, 32, 0, 0, 57402, 182790, 99630, 19656, 2970, 378, 54, 0, 0, 67440, 1795320, 1594640, 146200, 22000, 2840, 320, 40, 0, 0, 61050, 17433130, 17373620, 4289340, 662860, 85910, 9790, 990, 110]