Hopefully this question is not a duplication.
Consider the following infinite series:
$$\LARGE\sum_{k=0}^\infty\frac{2^k}{1+\frac{1}{x^{2^k}}}$$
We know the answer is $\frac{x}{1-x}$ if $|x|<1$. We also know the partial sum is actually given by
$\sum_{k=0}^n\frac{2^k}{1+\frac{1}{x^{2^k}}}=\frac{\sum_{k=1}^n kx^k}{\sum_{k=0}^n x^k}$. This formula can of course be proved by induction. What I want to know is a way to derive this formula. Since the bottom is the geometric series and the top is its derivative multiplied by $x$, there should be a nice way to derive it.
We know there is a way of finding the sum of the infinite series by appealing to double series, and this is the last thing I want to see.
Thanks a lot!