I'm trying to solve $m^{m/2}=2^n$ for $m$. Solving for $n$ is straightforward, but I want to get $m$ as a function of $n$.
I was pretty surprised that I couldn't figure that out. Tried to solve by taking $log$ on both sides, but I always get into a loop with a $log$ with either $m$ as a basis or the value.
Thanks!
We have
$$m^{\frac m 2}=2^n\iff m^m=2^{2n}$$
but $m$ can't be obtained by elementary functions but by Lambert W function
$$m = \frac{\operatorname{ln} (2^{2n})}{\mathrm W \bigl(\operatorname{ln} (2^{2n})\bigr)}$$