MathDB
A permutation

Source: Indian IMOTC 2004 Practice Test 1 Problem 4

September 23, 2005
combinatorics unsolvedcombinatorics

Problem Statement

Given a permutation σ=(a1,a2,a3,...an)\sigma = (a_1,a_2,a_3,...a_n) of (1,2,3,...n)(1,2,3,...n) , an ordered pair (aj,ak)(a_j,a_k) is called an inversion of σ\sigma if aj<kna \leq j < k \leq n and aj>aka_j > a_k. Let m(σ)m(\sigma) denote the no. of inversions of the permutation σ\sigma. Find the average of m(σ)m(\sigma) as σ\sigma varies over all permutations.