Let ${p_1,p_2,\ldots \in [0,1]}$ be a sequence such that ${\sum_{n=1}^\infty p_n = +\infty}$. Show that there exist a sequence of events ${E_1,E_2,\dots}$ modeled by some probability space ${\Omega}$, such that ${{\bf P}(E_n)=p_n}$ for all ${n}$, and such that almost surely infinitely many of the ${E_n}$ occur. Thus we see that the hypothesis ${\sum_{n=1}^\infty {\bf P}(E_n) < \infty}$ in the Borel-Cantelli lemma cannot be relaxed.
At first I thought of the Borel $\sigma$-algebra of the unit interval with the lebesgue measure, then define $E_n := [0, p_n]$ for each $n$. But this seems not to work, any hint will be appreciated