The following function represents a probability. The left-hand side is arbitrary, let's call it $\frac12$. How to solve for $m$ where $m, n > 0$? $$\frac{1}{2}=\left[1 - \left(\frac{1}{m}\right)^{(m^m)}\right]^{2n}$$
In case it's relevant, this equation is for a computation complexity bound that I am working on, so it'd technically be permissible to make substitutions which don't affect the resulting O(...), in case that's helpful.