In mathematics, the hyperoperation sequence[nb 1] is an infinite sequence of arithmetic operations (called hyperoperations) that starts with the unary operation of successor (n = 0), then continues with the binary operations of addition (n = 1), multiplication (n = 2), and exponentiation (n = 3), after which the sequence proceeds with further binary operations extending beyond exponentiation, using right-associativity. For the operations beyond exponentiation, the nth member of this sequence is named by Reuben Goodstein after the Greek prefix of n suffixed with -ation (such as tetration (n = 4), pentation (n = 5), hexation (n = 6), etc.) and can be written as using n − 2 arrows in Knuth's up-arrow notation. Each hyperoperation may be understood recursively in terms of the previous one by:
It may also be defined according to the recursion rule part of the definition, as in Knuth's up-arrow version of the Ackermann function:
This can be used to easily show numbers much larger than those which scientific notation can, such as Skewes' number and googolplexplex, but there are some numbers which even they cannot easily show, such as Graham's number and TREE(3).
This recursion rule is common to many variants of hyperoperations (see below).
So what will be the next operation after exponentiation? We defined multiplication so that , and defined exponentiation so that so it seems logical to define the next operation, tetration, so that with a tower of three 'a'. Analogously, the pentation of (a, 3) will be tetration(a, tetration(a, a))), with three 'a' in it.
The H operations for n ≥ 3 can be written in Knuth's up-arrow notation as
Knuth's notation could be extended to negative indices ≥ −2 in such a way as to agree with the entire hyperoperation sequence, except for the lag in the indexing:
the relationship between basic arithmetic operations is illustrated, allowing the higher operations to be defined naturally as above. The parameters of the hyperoperation hierarchy are sometimes referred to by their analogous exponentiation term; so a is the base, b is the exponent (or hyperexponent), and n is the rank (or grade).
In common terms, the hyperoperations are ways of compounding numbers that increase in growth based on the iteration of the previous hyperoperation. The concepts of successor, addition, multiplication and exponentiation are all hyperoperations; the successor operation (producing x + 1 from x) is the most primitive, the addition operator specifies the number of times 1 is to be added to itself to produce a final value, multiplication specifies the number of times a number is to be added to itself, and exponentiation refers to the number of times a number is to be multiplied by itself.
This is a list of the first seven (0th to 6th) hyperoperations. (Notice that in this article, we define 0⁰ as 1.)
|0||hyper0, increment, successor, zeration||Arbitrary|
|3||or||hyper3, exponentiation||b real, with some multivalued extensions to complex numbers|
|4||or||hyper4, tetration||a ≥ 0 or an integer, b an integer ≥ −1[nb 2] (with some proposed extensions)|
|5||or||hyper5, pentation||a, b integers ≥ −1[nb 2]|
|6||or||hyper6, hexation||a, b integers ≥ −1[nb 2]|
Hn(0, b) =
- 0, when n = 2, or n = 3, b ≥ 1, or n ≥ 4, b odd (≥ −1)
- 1, when n = 3, b = 0, or n ≥ 4, b even (≥ 0)
- b, when n = 1
- b + 1, when n = 0
Hn(a, 0) =
- 0, when n = 2
- 1, when n = 0, or n ≥ 3
- a, when n = 1
Hn(a, −1) =[nb 2]
- 0, when n = 0, or n ≥ 4
- a − 1, when n = 1
- −a, when n = 2
- 1/ , when n = 3
One of the earliest discussions of hyperoperations was that of Albert Bennett in 1914, who developed some of the theory of commutative hyperoperations (see below). About 12 years later, Wilhelm Ackermann defined the function  which somewhat resembles the hyperoperation sequence.
In his 1947 paper, R. L. Goodstein introduced the specific sequence of operations that are now called hyperoperations, and also suggested the Greek names tetration, pentation, etc., for the extended operations beyond exponentiation (because they correspond to the indices 4, 5, etc.). As a three-argument function, e.g., , the hyperoperation sequence as a whole is seen to be a version of the original Ackermann function — recursive but not primitive recursive — as modified by Goodstein to incorporate the primitive successor function together with the other three basic operations of arithmetic (addition, multiplication, exponentiation), and to make a more seamless extension of these beyond exponentiation.
The original three-argument Ackermann function uses the same recursion rule as does Goodstein's version of it (i.e., the hyperoperation sequence), but differs from it in two ways. First, defines a sequence of operations starting from addition (n = 0) rather than the successor function, then multiplication (n = 1), exponentiation (n = 2), etc. Secondly, the initial conditions for result in , thus differing from the hyperoperations beyond exponentiation. The significance of the b + 1 in the previous expression is that = , where b counts the number of operators (exponentiations), rather than counting the number of operands ("a"s) as does the b in , and so on for the higher-level operations. (See the Ackermann function article for details.)
This is a list of notations that have been used for hyperoperations.
|Name||Notation equivalent to||Comment|
|Knuth's up-arrow notation||Used by Knuth (for n ≥ 3), and found in several reference books.|
|Goodstein's notation||Used by Reuben Goodstein.|
|Original Ackermann function||Used by Wilhelm Ackermann (for n ≥ 1)|
|Ackermann–Péter function||This corresponds to hyperoperations for base 2 (a = 2)|
|Nambiar's notation||Used by Nambiar (for n ≥ 1)|
|Box notation||Used by Rubtsov and Romerio.|
|Superscript notation||Used by Robert Munafo.|
|Subscript notation (for lower hyperoperations)||Used for lower hyperoperations by Robert Munafo.|
|Operator notation (for "extended operations")||Used for lower hyperoperations by John Donner and Alfred Tarski (for n ≥ 1).|
|Square bracket notation||Used in many online forums; convenient for ASCII.|
|Conway chained arrow notation||Used by John Horton Conway (for n ≥ 3)|
|Bowers' Exploding Array Function||Used by Jonathan Bowers (for n ≥ 1)|
Variant starting from a
In 1928, Wilhelm Ackermann defined a 3-argument function which gradually evolved into a 2-argument function known as the Ackermann function. The original Ackermann function was less similar to modern hyperoperations, because his initial conditions start with for all n > 2. Also he assigned addition to n = 0, multiplication to n = 1 and exponentiation to n = 2, so the initial conditions produce very different operations for tetration and beyond.
|3||An offset form of tetration. The iteration of this operation is different than the iteration of tetration.|
|4||Not to be confused with pentation.|
Another initial condition that has been used is (where the base is constant ), due to Rózsa Péter, which does not form a hyperoperation hierarchy.
Variant starting from 0
In 1984, C. W. Clenshaw and F. W. J. Olver began the discussion of using hyperoperations to prevent computer floating-point overflows. Since then, many other authors have renewed interest in the application of hyperoperations to floating-point representation. (Since Hn(a, b) are all defined for b = -1.) While discussing tetration, Clenshaw et al. assumed the initial condition , which makes yet another hyperoperation hierarchy. Just like in the previous variant, the fourth operation is very similar to tetration, but offset by one.
|4||An offset form of tetration. The iteration of this operation is much different than the iteration of tetration.|
|5||Not to be confused with pentation.|
An alternative for these hyperoperations is obtained by evaluation from left to right. Since
define (with ° or subscript)
This was extended to ordinal numbers by Donner and Tarski,[Definition 1] by :
It follows from Definition 1(i), Corollary 2(ii), and Theorem 9, that, for a ≥ 2 and b ≥ 1, that[original research?]
|0||increment, successor, zeration|
|3||This is exponentiation.|
|4||Not to be confused with tetration.|
|5||Not to be confused with pentation.
Similar to tetration.
Commutative hyperoperations were considered by Albert Bennett as early as 1914, which is possibly the earliest remark about any hyperoperation sequence. Commutative hyperoperations are defined by the recursion rule
which is symmetric in a and b, meaning all hyperoperations are commutative. This sequence does not contain exponentiation, and so does not form a hyperoperation hierarchy.
|2||This is due to the properties of the logarithm.|
|3||A commutative form of exponentiation.|
|4||Not to be confused with tetration.|
- Sequences similar to the hyperoperation sequence have historically been referred to by many names, including: the Ackermann function (3-argument), the Ackermann hierarchy, the Grzegorczyk hierarchy (which is more general), Goodstein's version of the Ackermann function, operation of the nth grade, z-fold iterated exponentiation of x with y, arrow operations, reihenalgebra and hyper-n.
- Let x = a[n](−1). By the recursive formula, a[n]0 = a[n − 1](a[n](−1)) ⇒ 1 = a[n − 1]x. One solution is x = 0, because a[n − 1]0 = 1 by definition when n ≥ 4. This solution is unique because a[n − 1]b > 1 for all a > 1, b > 0 (proof by recursion).
- Ordinal addition is not commutative; see ordinal arithmetic for more information
- Daniel Geisler (2003). "What lies beyond exponentiation?". Retrieved 2009-04-17.
- Harvey M. Friedman (Jul 2001). "Long Finite Sequences". Journal of Combinatorial Theory, Series A 95 (1): 102–144. doi:10.1006/jcta.2000.3154. Retrieved 2009-04-17.
- Manuel Lameiras Campagnola and Cristopher Moore and José Félix Costa (Dec 2002). "Transfinite Ordinals in Recursive Number Theory". Journal of Complexity 18 (4): 977–1000. doi:10.1006/jcom.2002.0655. Retrieved 2009-04-17.
- Marc Wirz (1999). "Characterizing the Grzegorczyk hierarchy by safe recursion". CiteSeer. Retrieved 2009-04-21.
- R. L. Goodstein (Dec 1947). "Transfinite Ordinals in Recursive Number Theory". Journal of Symbolic Logic 12 (4): 123–129. doi:10.2307/2266486. JSTOR 2266486.
- Albert A. Bennett (Dec 1915). "Note on an Operation of the Third Grade". Annals of Mathematics. Second Series 17 (2): 74–75. doi:10.2307/2007124. JSTOR 2007124.
- Paul E. Black (2009-03-16). "Ackermann's function". Dictionary of Algorithms and Data Structures. U.S. National Institute of Standards and Technology (NIST). Retrieved 2009-04-17. External link in
- J. E. Littlewood (Jul 1948). "Large Numbers". Mathematical Gazette 32 (300): 163–171. doi:10.2307/3609933. JSTOR 3609933.
- Markus Müller (1993). "Reihenalgebra" (PDF). Retrieved 2009-04-17.
- Robert Munafo (November 1999). "Inventing New Operators and Functions". Large Numbers at MROB. Retrieved 2009-04-17.
- A. J. Robbins (November 2005). "Home of Tetration". Archived from the original on 13 June 2015. Retrieved 2009-04-17.
- I. N. Galidakis (2003). "Mathematics". Archived from the original on April 20, 2009. Retrieved 2009-04-17.
- C. A. Rubtsov and G. F. Romerio (December 2005). "Ackermann's Function and New Arithmetical Operation". Retrieved 2009-04-17.
- G. F. Romerio (2008-01-21). "Hyperoperations Terminology". Tetration Forum. Retrieved 2009-04-21. External link in
- Wilhelm Ackermann (1928). "Zum Hilbertschen Aufbau der reellen Zahlen". Mathematische Annalen 99: 118–133. doi:10.1007/BF01459088.
- Robert Munafo (1999-11-03). "Versions of Ackermann's Function". Large Numbers at MROB. Retrieved 2009-04-17.
- J. Cowles and T. Bailey (1988-09-30). "Several Versions of Ackermann's Function". Dept. of Computer Science, University of Wyoming, Laramie, WY. Retrieved 2009-04-17.
- Donald E. Knuth (Dec 1976). "Mathematics and Computer Science: Coping with Finiteness". Science 194 (4271): 1235–1242. doi:10.1126/science.194.4271.1235. PMID 17797067. Retrieved 2009-04-21.
- Daniel Zwillinger (2002). CRC standard mathematical tables and formulae, 31st Edition. CRC Press. p. 4. ISBN 1-58488-291-3.
- Eric W. Weisstein (2003). CRC concise encyclopedia of mathematics, 2nd Edition. CRC Press. pp. 127–128. ISBN 1-58488-347-2.
- K. K. Nambiar (1995). "Ackermann Functions and Transfinite Ordinals". Applied Mathematics Letters 8 (6): 51–53. doi:10.1016/0893-9659(95)00084-4.
- John Donner; Alfred Tarski (1969). "An extended arithmetic of ordinal numbers". Fundamenta Mathematicae 65: 95–127.
- C.W. Clenshaw and F.W.J. Olver (Apr 1984). "Beyond floating point". Journal of the ACM 31 (2): 319–328. doi:10.1145/62.322429. Retrieved 2009-04-21.
- W. N. Holmes (Mar 1997). "Composite Arithmetic: Proposal for a New Standard". Computer 30 (3): 65–73. doi:10.1109/2.573666. Retrieved 2009-04-21.
- R. Zimmermann (1997). "Computer Arithmetic: Principles, Architectures, and VLSI Design" (PDF). Lecture notes, Integrated Systems Laboratory, ETH Zürich. Retrieved 2009-04-17.
- T. Pinkiewicz and N. Holmes and T. Jamil (2000). "Design of a composite arithmetic unit for rational numbers". Proceedings of the IEEE. pp. 245–252. Retrieved 2009-04-17.