The function $\sum_{0}^{\infty} x^n/n^n$

[Edited to outline the end of the argument that $f(-M) \rightarrow 0$ (and to correct a few typos etc. while I'm at it)]

Yes, $F(x) \rightarrow 0$ from below as $x \rightarrow -\infty$. The convergence is slow, and precise asymptotic analysis seems to be somewhat annoying because it involves the lower branch of the Lambert W function.

The massive cancellations in $\sum_{n=0}^\infty x^n/n^n$ for $x \rightarrow -\infty$ can be tamed by the familiar device of writing $$ \frac1{n^n} = \frac1{(n-1)!} \int_0^\infty t^{n-1} e^{-nt} dt $$ for $n=1,2,3,\ldots$. Multiplying by $x^n$, summing over $n>0$, and restoring the $n=0$ term $x^0/0^0=1$ yields $$ f(x) = 1 + x \int_0^\infty e^{txe^{-t}} e^{-t} dt. $$ Hence if $x=-M$ then $$ f(x) = f(-M) = 1 - M \int_0^\infty e^{-Mte^{-t}} e^{-t} dt, $$ and as $M \rightarrow +\infty$ the integral naturally splits into the parts $t \leq 1$ where $t e^{-t}$ is increasing and $t \geq 1$ where $t e^{-t}$ is decreasing. We let $u = t e^{-t}$, so the integrand becomes $e^{-Mu} du/(1-t)$. For $t<1$ we use Abel's power series $t = \sum_{m=1}^\infty m^{m-1} u^m/m!$ to expand the integral in an asymptotic series: $$ \int_0^1 e^{-Mte^{-t}} e^{-t} dt \sim \frac1M + \frac1{M^2} + \frac{2^2}{M^3} + \frac{3^3}{M^4} + \frac{4^4}{M^5} + \cdots $$ which is already enough to get $f(-M) < 0$ for large $M$. [Curiously the asymptotics of $\sum_{n=0}^\infty (-M)^n/n^n$ have led us to the divergent series $\sum_{n=1}^\infty n^n/M^n$.]

But the resulting bound $f(-M) < -1/M$ underestimates $|f(-M)|$: numerically $f(-100) \simeq -.1826$, $\phantom.$ $f(-1000) \simeq -.1180$, and $\phantom.$ $f(-10000) \simeq -.0899$, suggesting that $f(-M)$ decays only as $-1/\log M$ or so. The reason must be the $t>1$ part of the integral. On this part, $t = \log(1/u) + \log\log(1/u) + o(1)$ as $t \rightarrow \infty$, so the integral behaves to first order like $\int_0^{1/e} e^{-Mu} du / \log(1/u)$. Now $\log(1/u) \rightarrow 0$ as $u \rightarrow 0+$, but the convergence is slower than any positive power of $u$. Therefore, the integral is $o(1/M)$, which completes the argument that $f(x) \rightarrow 0$ as $x \rightarrow -\infty$; but the integral is not $O(1/M^\theta)$ for any $\theta > 1$, so $f(-M)$ decays slower than any positive power of $M$.

A more thorough asymptotic analysis of the $t>1$ integral as $M \rightarrow \infty$ looks routine but unpleasant, so I'll stop at this point; perhaps somebody else here will be interested in pursuing it further.


I wish to add a remark to Noam D. Elkies' beautiful answer. From the integral representation for $f$, putting $e^{-t}=s$ in the integral, $$f(-x)=1-x\int_0^\infty e^{-xte^{-t}} e^{-t}dt = 1-x\int_0^1 s^{sx}ds\, ,$$ so that, for $x\to \infty$, $ f(-x)=o(1)$ is equivalent to $$\int_0^1 xu(s)^xds=1+o(1)\, ,$$ where $u\in C([0,1])$ is the function $u(s):=s^s$. As a matter of fact, since $0\le u(s)\le 1$ for all $s$ and $u(s)=1$ only for $s=0$ or $s=1$, it turns out that the limit only depends on $u'(0)$ and $u'(1)$.

Since $u'(1)=1$, for any $\lambda < 1 < \mu$ there exists a $b < 1$ such that for all $s\in [b,1]$ there holds $$1+\mu(s-1) \le u(s)\le 1+\lambda(s-1)\, ,$$ so that $$x\big(1+\mu(s-1)\big)^x \le xu(s)^x\le x\big(1+\lambda(s-1)\big)^x\, .$$ Similarly, since $u'(0)=-\infty$, for any $\nu > 0$ there exists a $a > 0$ such that for all $s\in [0,a]$ $$u(s)\le1-\nu s\, ,$$ so $$xu(s)^x\le x\big( 1-\nu s\big) ^ x \, .$$

Moreover, since on any interval $[a,b]\subset\subset(0,1)$ the function $u$ is bounded away from $1$, it is clear that $\int_a^b xu(s)^xds=o(1)$ by uniform convergence to $0$.

Integrating over $s\in [ 0,1]$, and recalling that $\lambda < 1 < \mu$ and $\nu > 0$ were arbitrary, the inequalities above plainly give

$$\int_0^1 xu(s)^xds=\int_0^a x u(s)^xds+\int_a^b xu(s)^xds+\int_b^1 xu(s)^xds=1+o(1) \, ,$$ for $x\to \infty$.


There is a paper of G. H. Hardy, where this function is studied in great detail:

G. H. Hardy, On the integral function $ \Phi_{ a,\alpha,\beta}(z)=\sum x^n/(n+a)^{\alpha n+\beta}$, Quarterly J. Math., 5 (1906) 37, 369-378. (Collected papers of G. H.Hardy, vol. IV, p. 128).