Beginning with a population of $n_0$ individuals, let each individual have a probability $p$ to survive until it replicates into two independent and identical individuals, where $p<\frac12$.
It follows that the population goes extinct in the long-run with probability 1, and the expected number of replications before extinction is $n_0p/(1-2p)$.
The population must reach some maximum size $N$ before going extinct, where $N\geq1$. What is the expected value of this maximum size $N$?