Show that the series $\frac{1}{1+x} + \frac{2}{1+x^2} + ... + \frac{2^n}{1+x^{2n}} + ...$ converges when $|x|>1$, and find it's sum.
I tried using the ratio test, but I first rewrote the above series as $\sum_{n=0}^{\infty}\frac{2^n(1-x^{2^n})}{1-x^{2^{n+1}}}$. The ratio test on this series gets us $\lim_{n\to\infty} \frac{2}{x^2}$ after disregarding the terms that disappear and computing it. However, in this case, $|x|>\sqrt2$, which is incorrect.
Where did I go wrong? I'm pretty sure I rewrote the series correctly, so this should give the correct answer. The solution is apparently to find a formula after testing the first few terms and proving by induction, but I am much more curious to why my method did not work, as that may show me some pitfalls that I am falling into when I am using the ratio test.
Thank you!