For a randomly selected permutation f=(f1,...,fn) of the set {1,…,n} let us denote by X(f) the largest number k≤n such that fi<fi+1 for all numbers i<k. Prove that the expected value of the random variable X is ∑k=1nk!1. probabilitycombinatoricspermutation