Imagine a game, where you have to pass n successive levels.
$\frac{1}{2}$ of the players get past the first level.
$\frac{1}{3}$ of the players get past the second level, given that they've passed the first level.
$\frac{1}{4}$ of the players get past the third level, given that they've passed the second level.
What is the expected value of level at which a random player stops?
What I thought was: The Probability of passing the second level is $\frac{1}{3}$(probability of winning the second game) * $\frac{1}{2}$(probability of passing the first level) = $\frac{1}{6}$ .
The Probability of passing the third level is $\frac{1}{6}$* $\frac{1}{4}$= $\frac{1}{24}$.
So in general the probability of winning the n-th game is $\frac{1}{(n+1)!}$.
Knowing that the expected value of a random Variable is given by:
$$ E[X] =\sum_{i = 0}^n {iP(X=i)}= \sum_{i = 0}^n {\frac{i}{(i+1)!}} = 1 $$
Which apparently is incorrect.
Here's my professor answer (At the beginning of his supposition he says "Let X be the level")
Can someone explain how he arrives to the conclusion that the answer is indeed $e-1$, I mean why he doesn't use the normal Expected Value formula ?
Thanks to everyone who will take some of their time even to read this far.