Convergent sum / divergent product

Hi guys,

This is apparently a fairly well-known example, but I can't seem to figure it out. Anyone know this? Want

$\displaystyle $\sum_{n=1}^\infty a_n < \infty$$

but

$\displaystyle \prod_{n=1}^\infty (1+a_n) \rightarrow \infty $

Now, we know that the sum will have to be conditionally convergent, as

$\displaystyle \sum_{n=1}^\infty |a_n| < \infty \Rightarrow \prod_{n=1}^\infty (1+a_n) < \infty$

and moreover, it is a theorem that if the sequence is square-summable, i.e.

$\displaystyle \sum_{n=1}^\infty |a_n|^2 < \infty$

then the product and the sum (without absolute values) converge and diverge together.

The sequences

$\displaystyle a_n = (-3)^n $

$\displaystyle a_n = \frac{(-1)^n}{n}$

$\displaystyle a_n = \frac{(-1)^n}{\sqrt{n}}$

don't seem to work, although I might be wrong about this last one. what about

$\displaystyle a_n = \frac{i\cdot(-1)^n}{\sqrt{n}}$

Re: Convergent sum / divergent product

Seems I've answered my own question as

$\displaystyle a_n = i^n/\sqrt{n}$ works!