It is a well known fact that for $|x|<1$, we have $$\sum_{n=0}^{+\infty} (-1)^n x^n = \frac{1}{1+x}$$ How can we prove that $$\exists \lim_{x\rightarrow1^{-}}\sum_{n=0}^{+\infty} (-1)^n x^{n^2} = 1/2$$ and how would the results change if we replace $n^2$ by $n^k$ for some $k$?
It is not very difficult to observe that this is an alternating series and that it converges for $|x|<1$. The problem lies in the boundary, where the sum is divergent and so we can't apply Abel's theorem. Maybe there are some results in Tauberian theory but I don't know much about it.