I was wondering whether there is a closed form (or asymptotic expression) for the following binomial sum:
$$\sum_{m=0}^n \frac{1}{m^m} \binom{n}{m},$$
where we use the convention $0^0=1$. I feel like during my university studies we were taught a trick to solve problems like this by playing around with the binomial theorem, exponentials and sometimes calculus. However, nothing I've tried so far seems to work.
At the very least, a non-trivial upper bound would be handy.
Edit: Thanks all for the answers, they're very helpful and it's so fun to see all the different approaches
I'm not aware of any technique for working with expressions like $\frac{1}{m^m}$ in sums exactly. If you had written $\frac{1}{n^m}$ then we'd just get $\left( 1 + \frac{1}{n} \right)^n$ by the binomial theorem, and if you had written $\frac{1}{m^n}$ maybe some other tricks would be available.
Asymptotics are easier. Generally speaking we can bound this sum from below by its largest term and above by $n$ times its largest term. Using the upper bound ${n \choose m} \le \frac{n^m}{m!}$, then using Stirling's approximation in the form $m! \ge \left( \frac{m}{e} \right)^m$, we get the very useful bound
$${n \choose m} \le \left( \frac{en}{m} \right)^m$$
which is close to tight when $m$ is small compared to $n$, and which gives
$$\frac{1}{m^m} {n \choose m} \le \left( \frac{en}{m^2} \right)^m.$$
This expression has logarithm $m \log \frac{en}{m^2} = m \log n + m - 2m \log m + m$ which has derivative $\log n + 1 - 2 \log m - 2$ as a function of $m$ and hence which is maximized exactly when $m = \sqrt{ \frac{n}{e} }$; this is also the approximate location of the true largest term. This means the value of $\left( \frac{en}{m^2} \right)^m$ at $m = \sqrt{ \frac{n}{e} }$ is an upper bound on the largest term and hence on every term, so substituting we get
$$\boxed{ \sum_{m=0}^n \frac{1}{m^m} {n \choose m} \le n \exp \left( 2 \sqrt{ \frac{n}{e} } \right) }.$$
We have $\frac{2}{\sqrt{e}} \approx 1.213 \dots $ so this is in good agreement with Claude's regression. We should also be able to get a lower bound that looks something like $\exp \left( 2 \sqrt{ \frac{n}{e} } \right)$ by lower bounding the largest term but the details seem slightly annoying. We can also improve the factor of $n$ by noting that for $m \ge \sqrt{en}$ we have $\left( \frac{ne}{m^2} \right)^m \le 1$, which improves the bound to
$$\sum_{m=0}^n \frac{1}{m^m} {n \choose m} \le \sqrt{en} \exp \left( 2 \sqrt{ \frac{n}{e} } \right) + n.$$
Working a bit more carefully we get a bound of $(1 + o(1)) \sqrt{ \frac{n}{e} } \exp \left( 2 \sqrt{ \frac{n}{e}} \right)$ and to do better than that we'd have to bound the $m < \sqrt{ \frac{n}{e} }$ terms more carefully.