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.

A289778 Number T(n,k) of reduced decompositions for all permutations of [n] with exactly k inversions; triangle T(n,k), n>=0, 0<=k<=n*(n-1)/2, read by rows.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 2, 1, 3, 6, 10, 14, 16, 16, 1, 4, 12, 30, 68, 132, 252, 412, 614, 768, 768, 1, 5, 20, 68, 210, 588, 1540, 3778, 8768, 19402, 40284, 78276, 137236, 219362, 292864, 292864, 1, 6, 30, 130, 512, 1864, 6340, 20472, 62770, 184748, 521272, 1428932
Offset: 0

Views

Author

Alois P. Heinz, Jul 12 2017

Keywords

Examples

			Triangle T(n,k) begins:
  1;
  1;
  1, 1;
  1, 2,  2,  2;
  1, 3,  6, 10, 14,  16,  16;
  1, 4, 12, 30, 68, 132, 252, 412, 614, 768, 768;
  ...
		

Crossrefs

Row sums give A246865.

Formula

T(n,n*(n-1)/2) = A005118(n).