# "Closed" form for $\sum \frac{1}{n^n}$

Earlier today, I was talking with my friend about some "cool" infinite series and the value they converge to like the Basel problem, Madhava-Leibniz formula for $\pi/4, \log 2$ and similar alternating series etc.

One series that popped into our discussion was $\sum\limits_{n=1}^{\infty} \frac{1}{n^n}$.

Proving the convergence of this series is trivial but finding the value to which converges has defied me so far. Mathematica says this series converges to $\approx 1.29129$.

I tried Googling about this series and found very little information about this series (which is actually surprising since the series looks cool enough to arise in some context).

We were joking that it should have something to do with $\pi,e,\phi,\gamma$ or at the least it must be a transcendental number :-).

My questions are:

1. What does this series converge to?
2. Does this series arise in any context and are there interesting trivia to be known about this series?

I am actually slightly puzzled that I have not been able to find much about this series on the Internet. (At least my Google search did not yield any interesting results).

• Did you try Plouffe's Invertor? Feb 10, 2011 at 7:49
• @Moron: Nice website. Through the website, I was only able to get the numerical value up to 1000 digits. pi.lacim.uqam.ca/piDATA/sumnn.txt
– user17762
Feb 10, 2011 at 7:58
• I asked a related question on MO: mathoverflow.net/questions/33397/… . It is possible to make "deformed" trigonometric functions by replacing $e^{z}$ with $M(z)$, but so far I haven't found references to them in lists of special functions. Feb 10, 2011 at 9:32
• @deoxygerbe: Very Interesting! I was thinking of a function on similar lines and study its behavior. The function actually looks a cool function. It converges for all $z$ and is holomorphic. An interesting function to play around with!
– user17762
Feb 10, 2011 at 9:40

Certainly you need to check out Sophomore's Dream.

• I wonder thy they call it like that. Very few sophomores might ever come up with such an identity... Feb 10, 2011 at 9:09
• Wikipedia: The name "sophomore's dream" is in contrast to the name "freshman's dream" which is given to the incorrect identity $(x+y)^n = x^n + y^n$. Mar 24, 2018 at 3:07

This series turns out to be equal to the integral of $1/x^x$ from $0$ to $1$. Sorry I am bad with the notation needed for math symbols here; but if you rewrite $x^{-x}$ as the exponential of $x\log x$, you can expand it as a taylor series and integrate term by term; to find it equals your sum. This doesn't give an explicit value; but I think it's a pretty cool identity.

EDIT: Just putting what you said into symbols, probably for the fun of it.

$$\int_0^1 x^{-x} dx=\int_0^1 e^{-x \log x} dx$$

$$e^{-x \log x} =\sum_{k=0}^\infty (-1)^k \frac{x^k\log^kx}{k!}$$

But since

$$\int_0^1 x^k \log^k x dx =(-1)^k \frac{k!}{(k+1)^{k+1}}$$

we get

$$\int_0^1 x^{-x} dx= \sum_{k=0}^\infty \frac{1}{(k+1)^{k+1}}=\sum_{k=1}^\infty \frac{1}{k^k}$$

• 1969 Putnam exam, problem A4: Show that $\int_0^1x^x\,dx=\sum_{n=1}^{\infty}(-1)^{n+1}n^{-n}$. May 11, 2011 at 1:55

Liouville's theorem implies that if your constant is irrational then it is in fact transcendental. Unfortunately, the trivial way of proving irrationality doesn't work. On second thought, the same problem also prevents us from applying Liouville's theorem!

• I am unable to immediately see that if the constant is irrational then it has to be a Liouville number. Could you throw light on the proof?
– user17762
Feb 11, 2011 at 2:57
• @Sivaram: You have a point... Feb 11, 2011 at 4:45
• To apply Liouville's theorem (or the much stronger Roth version) you need an infinite sequence of rational approximations. The smallest upper bound I get on the denominators of the obvious sequence of rational approximations ($\sum_{n=1}^l \frac{1}{n^n}$) is $q = \prod_{i=1}^n i^i$, whereas the best bound I get for $\left| \frac{p}{q} - \alpha \right|$ is $\frac{1}{n^n} \sum_{k=1}^\infty \frac{1}{k^k}$. That's huge compared to $1/q^r$ so the approximation theory doesn't apply at all - unless you produce a much better sequence of rationals and bound them very tightly. May 7, 2011 at 21:38