combinatorics What The distribution of inversions, also the distribution of major index on all permutations of a fixed length. Calculation Through calculating the distribution of inversions.