Demonstrate recursively that
$$\prod_{k = 0}^\infty (1 + x^{2^k}) = \frac{1}{1-x}$$
My work:
Define
$$a_n = \prod_{k = 0}^n (1 + x^{2^k}) = (1 + x^{2^n})a_{n - 1} \iff a_n - (1 + x^{2^n})a_{n - 1} = 0$$ $$A(x) = \sum_{n = 0}^\infty a_nx^n = a_0 + \sum_{n = 1}^\infty a_{n}x^n = 1 + x + \sum_{n = 1}^\infty a_{n}x^n$$ $$\implies xA(x) = \sum_{n = 1}^\infty a_{n-1}x^n$$
Therefore,
\begin{align} A(x) - (1 + x^{2^n})xA(x) &= 1 + x + \sum_{n = 1}^\infty a_{n}x^n - \sum_{n = 1}^\infty (1 + x^{2^n})a_{n-1}x^n\\ A(x) \left(1 - x(1 + x^{2^n})\right) &=1 + x + \sum_{n = 1}^{\infty} (a_n - (1 + x^{2^k})a_{n - 1})x^n\\ A(x) \left(1 - x(1 + x^{2^n})\right) &=1 + x\\ A(x) &= \frac{1 + x}{1 - x(1 + x^{2^n})}\\ &= \frac{1 + x}{1 - x - x^{2^n + 1}} \end{align}
To find $a_n$, I now want to transform $A(x)$ in the form $\sum_{k = 0}^\infty a_nx^n$ and then take the limit as $n \to \infty$. However, I’m unsure how to do this since I don’t think the expression can be decomposed into partial fractions.
My question:
- Is my approach correct?
- How do I continue?
Note: I know that there are other solutions, but I specifically want to see if defining a recurrence can yield a solution.