Find the constant $p$ such that the product of any (positive) number $N_0$ multiplied by successive random numbers between $0$ and $p$ will, on average, neither diverge to infinity nor converge to zero.
(This is not for homework or anything. This is a problem I "invented" and solved, and now want to see how real mathematicians would think about this. Take your time.)
(Thanks md2perpe for fixing up my tag.)
(Thanks Forester for making the variables render nicely.)
Here is my attempt. I leave you to fill missing details.
Call $X_n$ the random variable which is uniformly distributed in the interval $(0,p)$. Then $$\prod_{n=1}^N X_n \mbox{ is bounded and stays away from zero} \Longleftrightarrow \sum_{n=1}^N \log X_n \mbox{ is bounded }$$ The random variables $\log X_n$ has values in the interval $(- \infty , \log p)$, and it is not uniformly distributed. Clearly, a necessary condition of $$\sum_{n=1}^N \log X_n \mbox{ is bounded }$$ is that the mean of $\log X_n$ is zero.
Hence we need $$\int_{0}^{ p} \log t \ \mathrm d t =0 $$ this condition is equivalent to $$p \log p -p =0$$
This equation in the variable $p >0$ is easily solved and the only positive solution is $p=e$.