This question is from the introduction of a handbook on combinatorics. So far, the material covered contains:
- counting problems solved by using trees, Pascal's triangle,...
- definition of $n$ factorial
- definitions of combinations, variations (based on allowing repitition and if order matters).
No formulas, except for the formula for $n$ factorial have been seen.
The question then asks to find all values of $n$ such that $$10^8 < n! < 10^{12}$$ and the given answers states that this holds for $n = 12,13,14$ (only a numerical answer is given, no reasoning).
I tried solving this by taking the logarithm with base 10 from all sides, but this did not really help (seemed to brute force to me).
question: is there some 'nice' way to prove this answer?
For the lower bound, observe that $$10^7=\underbrace{10\cdot 10\cdot ....\cdot 10}_{7\text{ times}}>10\cdot9\cdot8\cdot7\cdot6\cdot4\cdot3=9!\implies 10^8>10\cdot9!=10!$$
Thus $n>10$. Once noticed that $12!$ works (which isn’t very hard) observe the following for the upper bound
In particular $a\cdot 13\cdot 14\cdot 15\cdot 16\not\in (10^8, 10^{12})$ since $a\cdot 13\cdot 14\cdot 15\cdot 16>a\cdot 10^4$.
Hence, since $12!$ satisfies the inequality, $12!\cdot 13\cdot 14\cdot 15\cdot 16=16!$ doesn’t.