Magnitude of n-th factorial

1.4k Views Asked by At

In connection with a riddle on The Riddler, I would like to know how to evaluate even crudely the order of magnitude of an iterated factorial like $$(\ldots(9\underbrace{!)!\ldots)!}_{n\text{ factorials}}$$ Using Stirling's approximation does not get me very far: \begin{align*} 9! &\approx 3^9\\ (9!)! &\approx (3^9/3)^{3^9}=3^{8\times 3^9}\\ &... \end{align*}

1

There are 1 best solutions below

4
On BEST ANSWER

First, let me explain why the numbers in a power tower don't matter. Let us compare these two:

$$3^{5^{5^5}}=10^{10^{10^a}}$$

$$5^{50\times5^{5^5}}=10^{10^{10^b}}$$

Clearly, we will have $a<b$, but by how much? Well, take the log of each thrice, and you will find that

$$a\approx2.7$$

$$b\approx2.7$$

Indeed, the only things that truly matters is how tall the power towers are, which is why may use a crude Stirling approximation:

$$k!\approx k^k$$

Also, a quick symbolization:

$$k!_n=k\underbrace{!!!!\dots~ !}_n$$

And furthermore,

$$k!_n\approx k^{k^{k^{\dots}}}\bigg\}(n+1)\text{ powers}$$

In terms of Knuth's up-arrow notation:

$$k!_n\approx k\uparrow\uparrow(n+1)$$