Let $X_1, X_2,...$ be a sequence of independent uniform random variables on $(0,1)$. Define: $$N := \text{min} \{n\geq 2: X_n < X_{n-1}\}.$$ Calculate $E(N)$.
I think this problem asked about the expectations of the first dropping entry of the series, I also did a simulation and I think the answer is $e$? But I'm not sure how to compute it. I tried using the definition of expectations and I compute that $P(N=2)$ is $1/2$, but I stuck with computing $P(N=3)$. Can anyone tell me how to do this?