olymmath

ELMO SL 2010 C1

    For a permutation π\pi of {1,2,3,…,n}\{1,2,3,\ldots,n\} , let Inv(π)\text{Inv}(\pi) be the number of pairs (i,j)(i,j) with 1≤i<j≤n1 \leq i < j \leq n and π(i)>π(j)\pi(i) > \pi(j) . [list=1] [] Given nn , what is ∑Inv(π)\sum \text{Inv}(\pi) where the sum ranges over all permutations π\pi of {1,2,3,…,n}\{1,2,3,\ldots,n\} ? [] Given nn , what is ∑(Inv(π))2\sum \left(\text{Inv}(\pi)\right)^2 where the sum ranges over all permutations π\pi of {1,2,3,…,n}\{1,2,3,\ldots,n\} ?[/list]

    Brian Hamrick.

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator elmo-sl/2010/c1 · Tag HYYPTA78KG · Edit this page on GitHub · Keys: j next, k previous