In Taylor's series, to determine the number of terms needed to obtain the desired accuracy, sometimes one needs to solve inequalities of the form $$\frac{a^n}{n!}<b,$$ where $a$ and $b$ are fixed positive numbers. In most textbooks in calculus, the only introduced method to solve $\frac{a^n}{n!}<b$ for $n$ is trial and error. While this method works well in many cases, I feel that it is inefficient when $a$ is large and $b$ is small. (For example, how about solving $\frac{1000^n}{n!}<0.01$?)
My Question: Apart from using brutal force, is there another method to solve the inequality $\frac{a^n}{n!}<b$ for $n$?