In mathematics, pentation is the next hyperoperation after tetration and before hexation. It is defined as iterated tetration, just as tetration is iterated exponentiation. It is a binary operation defined with two numbersa and b, where a is tetrated to itself b times. For instance, using hyperoperation notation for pentation and tetration, means tetrating 2 to itself 3 times, or. This can then be reduced to
There is little consensus on the notation for pentation; as such, there are many different ways to write the operation. However, some are more used than others, and some have clear advantages or disadvantages compared to others.
Pentation can be written as a hyperoperation as. In this format, may be interpreted as the result of repeatedly applying the function, for repetitions, starting from the number 1. Analogously,, tetration, represents the value obtained by repeatedly applying the function, for repetitions, starting from the number 1, and the pentation represents the value obtained by repeatedly applying the function, for repetitions, starting from the number 1. This will be the notation used in the rest of the article.
In Knuth's up-arrow notation, is represented as or. In this notation, represents the exponentiation function and represents tetration. The operation can be easily adapted for hexation by adding another arrow.
Another proposed notation is, though this is not extensible to higher hyperoperations.
Examples
The values of the pentation function may also be obtained from the values in the fourth row of the table of values of a variant of the Ackermann function: if is defined by the Ackermann recurrence with the initial conditions and, then. As tetration, its base operation, has not been extended to non-integer heights, pentation is currently only defined for integer values of a and b where a > 0 and b ≥ −1, and a few other integer values which may be uniquely defined. As with all hyperoperations of order 3 and higher, pentation has the following trivial cases which holds for all values of a and b within its domain:
Additionally, we can also define:
Other than the trivial cases shown above, pentation generates extremely large numbers very quickly such that there are only a few non-trivial cases that produce numbers that can be written in conventional notation, as illustrated below: