This question has been in my mind since high school.
We can get multiplication of natural numbers by repeated addition; equivalently, if we define $f$ recursively by $f(1)=m$ and $f(n+1)=f(n)+m$, then $f(n) = m \times n$. Likewise, we get exponentiation by repeated multiplication. If $g(1)=m$ and $g(n+1)=mg(n)$, then $g(n) = m^n$. In my high school mind it was natural to imagine a new function defined by repeated exponentiation: $h(1)=m$ and $h(n+1)=m^{h(n)}$.
These definitions only make sense for $n$ a natural number, but of course there are standard very mathematically satisfying ways to define multiplication and exponentiation by any real number. My question is this:
Can the function $h$ defined above also be extended in a natural way to $\mathbb{R}^{>0}$?
The question is in the spirit of seeking an extension of $f(n)=n!$ to $\mathbb{R}$ and arriving at $\Gamma(x)$.
Let me focus the question, and attempt to make precise what I mean by "in a natural way." Take $h(1)=2$ and $h(n+1)=2^{h(n)}$. $h$ is now defined on $\mathbb{N}$, and $h(2)=4$, $h(3)=16$, $h(4)=2^{16}=65,536$ etc. Is it possible to extend the domain of definition of $h$ to all positive reals in such a way that
a) The functional equation $h(x+1)=2^{h(x)}$ continues to be satisfied for all $x$ in the domain.
b) $h$ is $C^\infty$. (Analytic would be even better but this seems maybe too much to hope for?)
c) All $h$'s derivatives are monotone.
These requirements are my attempt to codify what would count as "natural." I am open to suggestions about what would be a better list of requirements.
If such a function exists, I would like to know how to construct it; if it doesn't, I would like to know why (i.e. outline of proof), and if relaxing some of the requirements (e.g. just the first derivative monotone) would make it possible.
(If the function exists, I am also interested in the questions, "is it unique?" "Could we add some natural requirements to make it unique?" But my main query is about existence.)
What you're after is called tetration (the example you computed is given here), and it has an active community of people who are interested in it (though my sense is that it is not quite in the mainstream of mathematics research at the moment, for whatever reason). The Wikipedia page indicates that the problem of extending tetration to arbitrary real powers in a sufficiently regular/smooth way is still not satisfactorily solved, so I'm afraid I don't know the answer to your question about the existence of such a function $h(x)$.
Tetration is further generalized by Knuth's up-arrow notation, and then generalized even more by Conway's chained arrow notation.