NumberOfPermutationsByInversions


gives the number of permutations of length with exactly inversions.

NumberOfPermutationsByInversions[n]
gives a table of the number of length- permutations with inversions, for all .

DetailsDetails