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.

A345462 Triangle T(n,k) (n >= 1, 0 <= k <= n-1) read by rows: number of distinct permutations after k steps of the "first transposition" algorithm.

Table of values

n a(n)
1 1
2 2
3 1
4 6
5 3
6 1
7 24
8 13
9 4
10 1
11 120
12 67
13 23
14 5
15 1
16 720
17 411
18 146
19 36
20 6
21 1
22 5040
23 2921
24 1067
25 272
26 52
27 7
28 1
29 40320
30 23633
31 8800
32 2311
33 456
34 71
35 8
36 1
37 362880
38 214551
39 81055
40 21723
41 4419
42 709
43 93
44 9
45 1
46 3628800
47 2160343
48 825382
49 224650
50 46654
51 7720
52 1042
53 118
54 10
55 1

List of values

[1, 2, 1, 6, 3, 1, 24, 13, 4, 1, 120, 67, 23, 5, 1, 720, 411, 146, 36, 6, 1, 5040, 2921, 1067, 272, 52, 7, 1, 40320, 23633, 8800, 2311, 456, 71, 8, 1, 362880, 214551, 81055, 21723, 4419, 709, 93, 9, 1, 3628800, 2160343, 825382, 224650, 46654, 7720, 1042, 118, 10, 1]