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.

A373877 Triangle read by rows: T(n, k) is the number of permutations of length n, which contain the maximum number of distinct patterns of length k.

Table of values

n a(n)
1 1
2 2
3 2
4 6
5 4
6 6
7 24
8 22
9 2
10 24
11 120
12 118
13 2
14 14
15 120
16 720
17 718
18 218
19 8
20 90
21 720
22 5040
23 5038
24 3070
25 24
26 2
27 646
28 5040
29 40320
30 40318
31 32972
32 64
33 28
34 20
35 5242
36 40320
37 362880
38 362878
39 336196
40 3704
41 4
42 4
43 158
44 47622
45 362880
46 3628800
47 3628798
48 3533026
49 325752
50 16
51 16
52 16
53 1960
54 479306
55 3628800
56 39916800
57 39916798
58 39574122

List of values

[1, 2, 2, 6, 4, 6, 24, 22, 2, 24, 120, 118, 2, 14, 120, 720, 718, 218, 8, 90, 720, 5040, 5038, 3070, 24, 2, 646, 5040, 40320, 40318, 32972, 64, 28, 20, 5242, 40320, 362880, 362878, 336196, 3704, 4, 4, 158, 47622, 362880, 3628800, 3628798, 3533026, 325752, 16, 16, 16, 1960, 479306, 3628800, 39916800, 39916798, 39574122]