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.

A362589 Triangular array read by rows. T(n,k) is the number of ways to form an ordered pair of n-permutations and then choose a size k subset of its common descent set, n >= 0, 0 <= k <= max{0,n-1}.

Original entry on oeis.org

1, 1, 4, 1, 36, 18, 1, 576, 432, 68, 1, 14400, 14400, 3900, 250, 1, 518400, 648000, 252000, 32400, 922, 1, 25401600, 38102400, 19404000, 3880800, 262542, 3430, 1, 1625702400, 2844979200, 1795046400, 493920000, 56664384, 2119152, 12868, 1
Offset: 0

Views

Author

Geoffrey Critzer, May 01 2023

Keywords

Examples

			Triangle begins:
     1;
     1;
     4,     1;
    36,    18,    1;
   576,   432,   68,   1;
 14400, 14400, 3900, 250, 1;
 ...
		

Crossrefs

Cf. A001044 (column k=0), A102221 (row sums), A192721.

Programs

  • Mathematica
    nn = 8; B[n_] := n!^2; e[z_] := Sum[z^n/B[n], {n, 0, nn}];Map[Select[#, # > 0 &] &,Table[B[n], {n, 0, nn}] CoefficientList[Series[u/(u + 1 - e[u z]), {z, 0, nn}], {z, u}]] // Flatten

Formula

Sum_{n>=0} Sum_{k=0..n-1} T(n,k)*u^k*z^n/(n!)^2 = u/(u + 1 - E(u*z)) where E(z) = Sum_{n>=0} z^n/(n!)^2.
Column k=1: Sum_{k=1..n-1} A192721(n,k)*k gives total number of common descents over all permutation pairs.