ChallengeMedium
Challenge · Medium problem
A permutation of is chosen uniformly at random. An inversion is a pair of positions whose earlier entry is the larger. If the expected number of inversions is in lowest terms, find .
A permutation of is chosen uniformly at random. An inversion is a pair of positions whose earlier entry is the larger. If the expected number of inversions is in lowest terms, find .