NumberOfPermutationsByInversions
NumberOfPermutationsByInversions[n,k]
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
.
更多信息和选项
参见
技术笔记
相关指南
Combinatorica`
Combinatorica`
NumberOfPermutationsByInversions
NumberOfPermutationsByInversions[n,k]
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
.
更多信息和选项
- To use NumberOfPermutationsByInversions, you first need to load the Combinatorica Package using Needs["Combinatorica`"].