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

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood