Let $P$ be a permutation chosen uniformly at random from $S_n$.
Let $S = \{ i : \forall j < i, P(j) < P(i)\}$ (1 is in S too)
What is the expected value of the size of S?
My work:
Let this value is $L(n)$
$L(0) = 0, $
$L(k)=1+\frac{L(0)+...+L(k-1)}{k}$
But I can't simplify it
My work vol.2
$L(k-1) \le L(k)$, $L(2k) = 1 + \frac{L(0)+...+L(2k-1)}{2k} \ge 1 + \frac{L(k)+...+L(2k-1)}{2k} \ge 1+\frac{L(k)}{2}$ => $L(k) \ge log_2k$