In mathematics, tetration (or hyper4) is an operation based on iterated, or repeated, exponentiation. There is no standard notation for tetration, though and the leftexponent ^{x}b are common.
Under the definition as repeated exponentiation, means , where n copies of a are iterated via exponentiation, righttoleft, i.e. the application of exponentiation times. n is called the "height" of the function, while a is called the "base," analogous to exponentiation. It would be read as "the nth tetration of a".
It is the next hyperoperation after exponentiation, but before pentation. The word was coined by Reuben Louis Goodstein from tetra (four) and iteration.
Tetration is also defined recursively as
allowing for attempts to extend tetration to nonnatural numbers such as real and complex numbers.
The two inverses of tetration are called superroot and superlogarithm, analogous to the nth root and the logarithmic functions. None of the three functions are elementary.
Tetration is used for the notation of very large numbers.
The first four hyperoperations are shown here, with tetration being considered the fourth in the series. The unary operation succession, defined as , is considered to be the zeroth operation.
Note that nested exponents are conventionally interpreted from the top down: means and not
Succession, (a_{n+1} = a_{n} + 1), is the most basic operation; while addition (a + n) is a primary operation, for addition of natural numbers it can be thought of as a chained succession of n successors of a; multiplication (a × n) is also a primary operation, though for natural numbers it can analogously be thought of as a chained addition involving n numbers of a. Exponentiation can be thought of as a chained multiplication involving n numbers of a and tetration () as a chained power involving n numbers a. Each of the operations above are defined by iterating the previous one;^{[1]} however, unlike the operations before it, tetration is not an elementary function.
The parameter a is referred to as the base, while the parameter n may be referred to as the height. In the original definition of tetration, the height parameter must be a natural number; for instance, it would be illogical to say "three raised to itself negative five times" or "four raised to itself one half of a time." However, just as addition, multiplication, and exponentiation can be defined in ways that allow for extensions to real and complex numbers, several attempts have been made to generalize tetration to negative numbers, real numbers, and complex numbers. One such way for doing so is using a recursive definition for tetration; for any positive real and nonnegative integer , we can define recursively as:^{[1]}
The recursive definition is equivalent to repeated exponentiation for natural heights; however, this definition allows for extensions to the other heights such as , , and as well – many of these extensions are areas of active research. In math, a\uparrow\uparrow\b provides some stuff:
There are many terms for tetration, each of which has some logic behind it, but some have not become commonly used for one reason or another. Here is a comparison of each term with its rationale and counterrationale.
Owing in part to some shared terminology and similar notational symbolism, tetration is often confused with closely related functions and expressions. Here are a few related terms:
Terminology  Form 

Tetration  
Iterated exponentials  
Nested exponentials (also towers)  
Infinite exponentials (also towers) 
In the first two expressions a is the base, and the number of times a appears is the height (add one for x). In the third expression, n is the height, but each of the bases is different.
Care must be taken when referring to iterated exponentials, as it is common to call expressions of this form iterated exponentiation, which is ambiguous, as this can either mean iterated powers or iterated exponentials.
There are many different notation styles that can be used to express tetration. Some notations can also be used to describe other hyperoperations, while some are limited to tetration and have no immediate extension.
Name  Form  Description 

Rudy Rucker notation  Used by Maurer [1901] and Goodstein [1947]; Rudy Rucker's book Infinity and the Mind popularized the notation.^{[nb 1]}  
Knuth's uparrow notation  Allows extension by putting more arrows, or, even more powerfully, an indexed arrow.  
Conway chained arrow notation  Allows extension by increasing the number 2 (equivalent with the extensions above), but also, even more powerfully, by extending the chain  
Ackermann function  Allows the special case to be written in terms of the Ackermann function.  
Iterated exponential notation  Allows simple extension to iterated exponentials from initial values other than 1.  
Hooshmand notations^{[6]}  Used by M. H. Hooshmand [2006].  
Hyperoperation notations  Allows extension by increasing the number 4; this gives the family of hyperoperations.  
Double caret notation  a^^n

Since the uparrow is used identically to the caret (^ ), tetration may be written as (^^ ); convenient for ASCII.

One notation above uses iterated exponential notation; this is defined in general as follows:
There are not as many notations for iterated exponentials, but here are a few:
Name  Form  Description 

Standard notation  Euler coined the notation , and iteration notation has been around about as long.  
Knuth's uparrow notation  Allows for superpowers and superexponential function by increasing the number of arrows; used in the article on large numbers.  
Text notation  exp_a^n(x)

Based on standard notation; convenient for ASCII. 
J Notation  x^^:(n1)x

Repeats the exponentiation. See J (programming language)^{[7]} 
Infinity barrier notation  Jonathan Bowers coined this,^{[8]} and it can be extended to higher hyperoperations 
Because of the extremely fast growth of tetration, most values in the following table are too large to write in scientific notation. In these cases, iterated exponential notation is used to express them in base 10. The values containing a decimal point are approximate.
1  1  1  1  1 

2  4 (2^{2})  16 (2^{4})  65,536 (2^{16})  2.0035 × 10^{19,728} 
3  27 (3^{3})  7,625,597,484,987 (3^{27})  (3,638,334,640,025 digits)  
4  256 (4^{4})  1.34078 × 10^{154} (4^{256})  (8.0723 × 10^{153} digits)  
5  3,125 (5^{5})  1.91101 × 10^{2,184} (5^{3,125})  (1.33574 × 10^{2,184} digits)  
6  46,656 (6^{6})  2.65912 × 10^{36,305} (6^{46,656})  (2.0692 × 10^{36,305} digits)  
7  823,543 (7^{7})  3.75982 × 10^{695,974}  (3.17742 × 10^{695,974} digits)  
8  16,777,216 (8^{8})  6.01452 × 10^{15,151,335}  (5.43165 × 10^{15,151,335} digits)  
9  387,420,489 (9^{9})  4.28125 × 10^{369,693,099}  (4.08535 × 10^{369,693,099} digits)  
10  10,000,000,000 (10^{10})  10^{10,000,000,000}  (10^{10,000,000,000} + 1 digits) 
Remark: If x does not differ from 10 by orders of magnitude, then for all . For example, in the above table, and the difference is even smaller for the following rows.
Tetration has several properties that are similar to exponentiation, as well as properties that are specific to the operation and are lost or gained from exponentiation. Because exponentiation does not commute, the product and power rules do not have an analogue with tetration; the statements and are not true for most cases.^{[9]}
However, tetration does follow a different property, in which . This fact is most clearly shown using the recursive definition. From this property, a proof follows that , which allows for switching b and c in certain equations. The proof goes as follows:
When a number x and 10 are coprime, it is possible to compute the last m decimal digits of using Euler's theorem, for any integer m. This is also true in other bases: for example, the last m octal digits of can be computed when x and 8 are coprime.
When evaluating tetration expressed as an "exponentiation tower", the serial exponentiation is done at the deepest level first (in the notation, at the apex). For example:
This order is important because exponentiation is not associative, and evaluating the expression in the opposite order will lead to a different answer:
Evaluating the expression the left to right is considered less interesting; evaluating left to right, any expression can be simplified to be .^{[10]} Because of this, the towers must be evaluated from right to left (or top to bottom). Computer programmers refer to this choice as rightassociative.
Tetration can be extended in two different ways; in the equation , both the base a and the height n can be generalized using the definition and properties of tetration. Although the base and the height can be extended beyond the nonnegative integers to different domains, including , complex functions such as , and heights of infinite n, the more limited properties of tetration reduce the ability to extend tetration.
The exponential is not consistently defined. Thus, the tetrations are not clearly defined by the formula given earlier. However, is well defined, and exists:^{[11]}
Thus we could consistently define . This is analogous to defining .
Under this extension, , so the rule from the original definition still holds.
Since complex numbers can be raised to powers, tetration can be applied to bases of the form z = a + bi (where a and b are real). For example, in ^{n}z with z = i, tetration is achieved by using the principal branch of the natural logarithm; using Euler's formula we get the relation:
This suggests a recursive definition for ^{n+1}i = a′ + b′i given any ^{n}i = a + bi:
The following approximate values can be derived:
Approximate value  

i  
0.2079  
0.9472 + 0.3208i  
0.0501 + 0.6021i  
0.3872 + 0.0305i  
0.7823 + 0.5446i  
0.1426 + 0.4005i  
0.5198 + 0.1184i  
0.5686 + 0.6051i 
Solving the inverse relation, as in the previous section, yields the expected ^{0}i = 1 and ^{−1}i = 0, with negative values of n giving infinite results on the imaginary axis. Plotted in the complex plane, the entire sequence spirals to the limit 0.4383 + 0.3606i, which could be interpreted as the value where n is infinite.
Such tetration sequences have been studied since the time of Euler, but are poorly understood due to their chaotic behavior. Most published research historically has focused on the convergence of the infinitely iterated exponential function. Current research has greatly benefited by the advent of powerful computers with fractal and symbolic mathematics software. Much of what is known about tetration comes from general knowledge of complex dynamics and specific research of the exponential map.^{[citation needed]}
Tetration can be extended to infinite heights; i.e., for certain a and n values in , there exists a well defined result for an infinite n. This is because for bases within a certain interval, tetration converges to a finite value as the height tends to infinity. For example, converges to 2, and can therefore be said to be equal to 2. The trend towards 2 can be seen by evaluating a small finite tower:
In general, the infinitely iterated exponential , defined as the limit of as n goes to infinity, converges for e^{−e} ≤ x ≤ e^{1/e}, roughly the interval from 0.066 to 1.44, a result shown by Leonhard Euler.^{[12]} The limit, should it exist, is a positive real solution of the equation y = x^{y}. Thus, x = y^{1/y}. The limit defining the infinite exponential of x does not exist when x > e^{1/e} because the maximum of y^{1/y} is e^{1/e}. The limit also fails to exist when 0 < x < e^{−e}.
This may be extended to complex numbers z with the definition:
where W represents Lambert's W function.
As the limit y = ^{∞}x (if existent on the positive real line, i.e. for e^{−e} ≤ x ≤ e^{1/e}) must satisfy x^{y} = y we see that x ↦ y = ^{∞}x is (the lower branch of) the inverse function of y ↦ x = y^{1/y}.
We can use the recursive rule for tetration,
to prove :
Substituting −1 for k gives
Smaller negative values cannot be well defined in this way. Substituting −2 for k in the same equation gives
which is not well defined. They can, however, sometimes be considered sets.^{[10]}
For , any definition of is consistent with the rule because
At this time there is no commonly accepted solution to the general problem of extending tetration to the real or complex values of n. There have, however, been multiple approaches towards the issue, and different approaches are outlined below.
In general, the problem is finding — for any real a > 0 — a superexponential function over real x > −2 that satisfies
To find a more natural extension, one or more extra requirements are usually required. This is usually some collection of the following:
The fourth requirement differs from author to author, and between approaches. There are two main approaches to extending tetration to real heights; one is based on the regularity requirement, and one is based on the differentiability requirement. These two approaches seem to be so different that they may not be reconciled, as they produce results inconsistent with each other.
When is defined for an interval of length one, the whole function easily follows for all x > −2.
A linear approximation (solution to the continuity requirement, approximation to the differentiability requirement) is given by:
hence:
Approximation  Domain 

for −1 < x < 0  
for 0 < x < 1  
for 1 < x < 2 
and so on. However, it is only piecewise differentiable; at integer values of x the derivative is multiplied by . It is continuously differentiable for if and only if . For example, using these methods and
A main theorem in Hooshmand's paper^{[6]} states: Let . If is continuous and satisfies the conditions:
then is uniquely determined through the equation
where denotes the fractional part of x and is the iterated function of the function .
The proof is that the second through fourth conditions trivially imply that f is a linear function on [−1, 0].
The linear approximation to natural tetration function is continuously differentiable, but its second derivative does not exist at integer values of its argument. Hooshmand derived another uniqueness theorem for it which states:
If is a continuous function that satisfies:
then . [Here is Hooshmand's name for the linear approximation to the natural tetration function.]
The proof is much the same as before; the recursion equation ensures that and then the convexity condition implies that is linear on (−1, 0).
Therefore, the linear approximation to natural tetration is the only solution of the equation and which is convex on (−1, +∞). All other sufficientlydifferentiable solutions must have an inflection point on the interval (−1, 0).
Beyond linear approximations, a quadratic approximation (to the differentiability requirement) is given by:
which is differentiable for all , but not twice differentiable. For example, If this is the same as the linear approximation.^{[1]}
Because of the way it is calculated, this function does not "cancel out", contrary to exponents, where . Namely,
Just as there is a quadratic approximation, cubic approximations and methods for generalizing to approximations of degree n also exist, although they are much more unwieldy.^{[1]}^{[14]}
It has now been proven^{[15]} that there exists a unique function F which is a solution of the equation F(z + 1) = exp(F(z)) and satisfies the additional conditions that F(0) = 1 and F(z) approaches the fixed points of the logarithm (roughly 0.318 ± 1.337i) as z approaches ±i∞ and that F is holomorphic in the whole complex zplane, except the part of the real axis at z ≤ −2. This proof confirms a previous conjecture.^{[16]} The construction of such a function was originally demonstrated by Kneser in 1950.^{[17]} The complex map of this function is shown in the figure at right. The proof also works for other bases besides e, as long as the base is bigger than . Subsequent work extended the construction to all complex bases.^{[18]}
The requirement of the tetration being holomorphic is important for its uniqueness. Many functions S can be constructed as
where α and β are real sequences which decay fast enough to provide the convergence of the series, at least at moderate values of Im z.
The function S satisfies the tetration equations S(z + 1) = exp(S(z)), S(0) = 1, and if α_{n} and β_{n} approach 0 fast enough it will be analytic on a neighborhood of the positive real axis. However, if some elements of {α} or {β} are not zero, then function S has multitudes of additional singularities and cutlines in the complex plane, due to the exponential growth of sin and cos along the imaginary axis; the smaller the coefficients {α} and {β} are, the further away these singularities are from the real axis.
The extension of tetration into the complex plane is thus essential for the uniqueness; the realanalytic tetration is not unique.
Tetration (restricted to ) is not an elementary recursive function. One can prove by induction that for every elementary recursive function f, there is a constant c such that
We denote the right hand side by . Suppose on the contrary that tetration is elementary recursive. is also elementary recursive. By the above inequality, there is a constant c such that . By letting , we have that , a contradiction.
Exponentiation has two inverse operations; roots and logarithms. Analogously, the inverses of tetration are often called the superroot, and the superlogarithm (In fact, all hyperoperations greater than or equal to 3 have analogous inverses); e.g., in the function , the two inverses are the cube superroot of y and the super logarithm base y of x.
"Superroot" redirects here. For the directory supported by some Unixes, see superroot (computing). 
The superroot is the inverse operation of tetration with respect to the base: if , then y is an nth super root of x ( or ).
For example,
so 2 is the 4th superroot of 65,536.
The 2ndorder superroot, square superroot, or super square root has two equivalent notations, and . It is the inverse of and can be represented with the Lambert W function:^{[19]}
The function also illustrates the reflective nature of the root and logarithm functions as the equation below only holds true when :
Like square roots, the square superroot of x may not have a single solution. Unlike square roots, determining the number of square superroots of x may be difficult. In general, if , then x has two positive square superroots between 0 and 1; and if , then x has one positive square superroot greater than 1. If x is positive and less than it does not have any real square superroots, but the formula given above yields countably infinitely many complex ones for any finite x not equal to 1.^{[19]} The function has been used to determine the size of data clusters.^{[20]}
At :
For each integer n > 2, the function ^{n}x is defined and increasing for x ≥ 1, and ^{n}1 = 1, so that the nth superroot of x, , exists for x ≥ 1.
One of the simpler and faster formulas for a thirddegree superroot is the recursive formula, if: x^{xx} = a, and next x (n + 1) = exp (W (W (x (n) ln (a)))), for example x (0) = 1.
However, if the linear approximation above is used, then if −1 < y ≤ 0, so cannot exist.
In the same way as the square superroot, terminology for other super roots can be based on the normal roots: "cube superroots" can be expressed as ; the "4th superroot" can be expressed as ; and the "nth superroot" is . Note that may not be uniquely defined, because there may be more than one n^{th} root. For example, x has a single (real) superroot if n is odd, and up to two if n is even.^{[citation needed]}
Just as with the extension of tetration to infinite heights, the superroot can be extended to n = ∞, being welldefined if 1/e ≤ x ≤ e. Note that and thus that . Therefore, when it is well defined, and, unlike normal tetration, is an elementary function. For example, .
It follows from the Gelfond–Schneider theorem that superroot for any positive integer n is either integer or transcendental, and is either integer or irrational.^{[21]} It is still an open question whether irrational superroots are transcendental in the latter case.
Main article: Superlogarithm 
Once a continuous increasing (in x) definition of tetration, ^{x}a, is selected, the corresponding superlogarithm or is defined for all real numbers x, and a > 1.
The function slog_{a} x satisfies:
Other than the problems with the extensions of tetration, there are several open questions concerning tetration, particularly when concerning the relations between number systems such as integers and irrational numbers: