When does $k^k = \mathrm{poly}(n)$?
More specifically, does $$ k^k = \mathrm{poly}(n) \impliedby k = \mathcal O\left( \frac{\log n}{\log \log n} \right) $$ hold? I saw that $$ k! = \mathrm{poly}(n) \impliedby k = \mathcal O \left( \frac{\log n}{\log \log n} \right) $$ holds, though struggle to prove that either.
Edit: I should have been more clear that $k$ depends on $n$. The problem came up in the study of randomised algorithms on graphs, where $k$ is path size and $n$ is the number of vertices. It came up in a discussion on cases for an algorithm to be RP (with little detail on these "trivialities" I do not get).