The task is: Prove, that
$$\int^1_0 \frac{1}{x^x} dx = \sum^{\infty}_{n=1} \frac{1}{n^n}$$
I completly don't have an idea, how to prove it. It seems very interesting, I will be glad if someone share a proof.
My initial thoughts are to use generating function to calculate the series, but I can't find a suitable function.
Thanks in advance for help!