Is there some way to determine how many times one must root a number and its subsequent roots until it is equal to the square root of two or of the root of a number less than two?
For example, \begin{align*} \sqrt{16} & = 4\\ \sqrt{4} &= 2\\ \sqrt{2} & \le \sqrt{2} \quad \implies \quad n = 3. \end{align*}
As another example, \begin{align*} \sqrt{27} & = 5.19615...\\ \sqrt{5.19615...} & = 2.27950...\\ \sqrt{2.27950...} & = 1.509803...\\ \sqrt{1.509803...} & \le \sqrt{2} \quad \implies \quad n = 4. \end{align*}
Also, using the floor function, \begin{align*} \sqrt{27} & = 5.19615...\\ \sqrt{[5.19615...]} & = 2.23606...\\ \sqrt{[2.23606...]} & \le \sqrt{2} \quad \implies \quad n = 3. \end{align*}
Let $x$ be our (positive real) number. Then $$\underbrace{\sqrt{\sqrt{\cdots\sqrt{x}}}}_{n\text{ times}}=x^{1/2^n}\leq \sqrt{2}$$ if and only if $x\leq 2^{2^{n-1}}$, which is the case if and only if $$\log_2(\log_2(x))\leq n-1,$$ or equivalently $\log_2(\log_2(x))+1\leq n$. The smallest integer $n$ with this property is, by definition, $$\lceil\log_2(\log_2(x))+1\rceil$$