Given any positive integer $k$, how can I find the smallest $n$ for which $n!$ has more than $k$ digits?
I have boiled the question down to:
$$\mathrm{floor}(\log(n!)) + 1 = k$$
But cannot simplify this any further.
Please help me. I'm going crazy over this problem.