Prove that the series $$f(z)=\frac{z}{1-z^2}+\frac{z^2}{1-z^4}+\frac{z^4}{1-z^8}+ \cdots$$ conveges locally uniformly to $\frac{z}{1-z}$ when $z$ is in the unit disc $D$ and to $\frac{1}{1-z}$ when $z \notin \overline{D}.$ Are these two limiting functions analytic continuations of each other? If not, is $\partial D$ the natural boundary of analyticity for $f(z)$ ?
I came across this problem while studying for my complex preliminaries. I tried to factor out the term $\frac{z}{1-z}$ and consider the difference $|f(z)-\frac{z}{1-z}|$ and go by to show that it's less than $\epsilon$ for all $z.$ But it wasn't successful. And any help in this part and other two parts are much appreciated. I wouldn't ask if I was able to solve the problem. Thank you for your time.
Consider the partial sums $$ f_n(z)=\sum_{k=0}^{n-1}\frac{z^{(2^k)}}{1-z^{(2^{k+1})}}. $$ By induction on $n$, we have $$ f_n(z)=\frac1{1-z}-\frac1{1-z^{(2^n)}}. $$ Indeed $$ f_1(z)=\frac{z}{1-z^2}=\frac{1+z}{1-z^2}-\frac{1}{1-z^2} =\frac1{1-z}-\frac{1}{1-z^2}. $$ Assuming the formula holds for $n$, we have $$\begin{eqnarray*} f_{n+1}(z) &=&\frac1{1-z}-\frac1{1-z^{(2^n)}}+\frac{z^{(2^n)}}{1-z^{(2^{n+1})}}\\ &=&\frac1{1-z}-\frac{1+z^{(2^n)}}{1-z^{(2^{n+1})}}+\frac{z^{(2^n)}}{1-z^{(2^{n+1})}}\\ &=&\frac1{1-z}-\frac{1}{1-z^{(2^{n+1})}}, \end{eqnarray*}$$ as required. If $|z|>r>1$ then $|z^{(2^n)}|\geq r^{(2^n)}$, so $f_n(z)\rightarrow\frac1{1-z}$ uniformly. On the other hand $$ f(z)=\frac{z}{1-z}-\frac{1}{z^{(-2^n)}-1}. $$ If $|z|<r<1$ then $|z^{(-2^n)}|\geq r^{(-2^n)}$, so $f_n(z)\rightarrow\frac{z}{1-z}$ uniformly.