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

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang