MathDB
expected value of random variable X is \sum_{k=1}^n \frac{1}{k!}

Source: Polish MO Recond Round 1989 p2

September 9, 2024
probabilitycombinatoricspermutation

Problem Statement

For a randomly selected permutation f=(f1,...,fn) \mathbf{f} = (f_1,..., f_n) of the set {1,,n} \{1,\ldots, n\} let us denote by X(f) X(\mathbf{f}) the largest number kn k \leq n such that fi<fi+1 f_i < f_{ i+1} for all numbers i<k i < k . Prove that the expected value of the random variable X X is k=1n1k! \sum_{k=1}^n \frac{1}{k!} .