X is a geometric random variable. We know that for geom. R.V.

$ E[X] = {1 \over P(X)} $

The probability would of course be 1/n.

Alumni Liaison

Prof. Math. Ohio State and Associate Dean
Outstanding Alumnus Purdue Math 2008

Jeff McNeal