The factorial $n!$ has a nice representation as definite integral: $$ n!=\Gamma(n+1)=\int_0^\infty t^{n} e^{-t}\, \mathrm{d}t. \! $$ Is it possible to write down such an integral for $n^n$ as well?
I tried to come up with an integral that reproduces a $n$ factor, $n$-times, but without success. I don't see a way to stop the partial integration process like in the $n!$ case. So this might not work here and I currently can't think of another way. If it helps to restrict $n$, feel free to do so.
The only thing a found online so far is the Lambert's $W$ function, which is involved when solving $x^x=z$, but I'm not sure if this helps.
EDIT: Answers with integrals of the form $\displaystyle n^n=\int_0^\infty \cdots dt$ are preferred.
No need for the Lambert W function , respecting your limits and using $\Gamma$ we get that
$$ n^{n}=\frac{1}{\Gamma (n+1)}\int_{0}^{\infty }e^{-\frac{t^{ \frac{1}{n}}}{n}} dt $$
Update:
Lookup the Exponential Integral and its relationship with the Incomplete gamma function
$$E_{n}(x)=x^{n-1}\Gamma(1-n,x)\tag{1}$$
for $n=1-n$ and $x=\frac{1}{n}$ we get that :
$$E_{1-n}(\frac{1}{n})=\int_{1}^{\infty}\frac{e^{-\frac{t}{n}}}{t^{1-n}}dt = n^{n}\Gamma (n,\frac{1}{n})\tag{2}$$
Changing the integration limits to $[0,1]$ :
$$\int_{0}^{1}\frac{e^{-\frac{t}{n}}}{t^{1-n}}dt = n^{n}(\Gamma(n)-\Gamma (n,\frac{1}{n}))\tag{3}$$
Combining 2+3 we get the solution:
$$n^{n}=\frac{1}{\Gamma(n)}\int_{0}^{\infty}\frac{e^{-\frac{t}{n}}}{t^{1-n}}dt$$
The top result is due to the relationship :
$$n E_{1-n}(\frac{1}{n})= \int_{1}^{\infty} e^{-\frac{t^{\frac{1}{n}}}{n}} dt\tag{4}$$