# Math Help - about bernoulli

More properly, $Y$ is the first $i$ such that $Z_i=1$. Thus it is an integer greater that or equal to 1. As a consequence, $E[Y]=\sum_{y=1}^\infty y pq^{y-1}=\cdots=\frac{1}{p}$.