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.

A322383 Number T(n,k) of entries in the k-th cycles of all permutations of [n] when cycles are ordered by increasing lengths (and increasing smallest elements); triangle T(n,k), n>=1, 1<=k<=n, read by rows.

This page as a plain text file.
%I A322383 #28 Oct 06 2021 19:56:00
%S A322383 1,3,1,10,7,1,45,37,13,1,236,241,101,21,1,1505,1661,896,226,31,1,
%T A322383 10914,13301,7967,2612,442,43,1,90601,117209,78205,29261,6441,785,57,
%U A322383 1,837304,1150297,827521,346453,88909,14065,1297,73,1,8610129,12314329,9507454,4338214,1253104,234646,28006,2026,91,1
%N A322383 Number T(n,k) of entries in the k-th cycles of all permutations of [n] when cycles are ordered by increasing lengths (and increasing smallest elements); triangle T(n,k), n>=1, 1<=k<=n, read by rows.
%H A322383 Alois P. Heinz, <a href="/A322383/b322383.txt">Rows n = 1..141, flattened</a>
%H A322383 Andrew V. Sills, <a href="https://arxiv.org/abs/1912.05306">Integer Partitions Probability Distributions</a>, arXiv:1912.05306 [math.CO], 2019.
%H A322383 Wikipedia, <a href="https://en.wikipedia.org/wiki/Permutation">Permutation</a>
%e A322383 The 6 permutations of {1,2,3} are:
%e A322383   (1)     (2)   (3)
%e A322383   (1)     (2,3)
%e A322383   (2)     (1,3)
%e A322383   (3)     (1,2)
%e A322383   (1,2,3)
%e A322383   (1,3,2)
%e A322383 so there are 10 elements in the first cycles, 7 in the second cycles and only 1 in the third cycles.
%e A322383 Triangle T(n,k) begins:
%e A322383       1;
%e A322383       3,      1;
%e A322383      10,      7,     1;
%e A322383      45,     37,    13,     1;
%e A322383     236,    241,   101,    21,    1;
%e A322383    1505,   1661,   896,   226,   31,   1;
%e A322383   10914,  13301,  7967,  2612,  442,  43,  1;
%e A322383   90601, 117209, 78205, 29261, 6441, 785, 57, 1;
%e A322383   ...
%p A322383 b:= proc(n, l) option remember; `if`(n=0, add(l[i]*
%p A322383       x^i, i=1..nops(l)), add(binomial(n-1, j-1)*
%p A322383       b(n-j, sort([l[], j]))*(j-1)!, j=1..n))
%p A322383     end:
%p A322383 T:= n-> (p-> (seq(coeff(p, x, i), i=1..n)))(b(n, [])):
%p A322383 seq(T(n), n=1..12);
%t A322383 b[n_, l_] := b[n, l] = If[n == 0, l.x^Range[Length[l]], Sum[Binomial[n - 1, j - 1] b[n - j, Sort[Append[l, j]]] (j - 1)!, {j, 1, n}]];
%t A322383 T[n_] := Rest @ CoefficientList[b[n, {}], x];
%t A322383 Array[T, 12] // Flatten (* _Jean-François Alcover_, Mar 03 2020, after _Alois P. Heinz_ *)
%Y A322383 Columns k=1-10 give: A028417, A332906, A332907, A332908, A332909, A332910, A332911, A332912, A332913, A332914.
%Y A322383 Row sums give A001563.
%Y A322383 Cf. A185105, A322384.
%K A322383 nonn,tabl
%O A322383 1,2
%A A322383 _Alois P. Heinz_, Dec 05 2018