In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. In his 1947 paper, R. L. Goodstein introduced the specific sequence of operations that are now called hyperoperations. Goodstein also suggested the Greek names tetration, pentation, etc., for the extended operations beyond exponentiation. The sequence starts with a unary operation (the successor function with n = 0), and continues with the binary operations of addition (n = 1), multiplication (n = 2), exponentiation (n = 3), tetration (n = 4), etc. Various notations have been used to represent hyperoperations. One such notation is Hn(a,b). Knuth's up-arrow notation ↑ is another. For example:
the single arrow ↑ represents exponentiation (iterated multiplication) 2↑4=H3(2,4)=2×(2×(2×2))=24=16 the double arrow ↑↑ represents tetration (iterated exponentiation) 2↑↑4=H4(2,4)=2↑(2↑(2↑2))=2222=216=65,536 the triple arrow ↑↑↑ represents pentation (iterated tetration) 2↑↑↑4=H5(2,4)=2↑↑(2↑↑(2↑↑2))=2↑↑(2↑↑(2↑2))=2↑↑(2↑↑4)=2↑(2↑(2↑⋯))⏟=22⋯2⏟2↑↑4 copies of 265,536 2's The general definition of the up-arrow notation is as follows (for a≥0,n≥1,b≥0): a↑nb=Hn+2(a,b)=a[n+2]b. Here, ↑n stands for n arrows, so for example 2↑↑↑↑3=2↑43, and the square brackets used in the far right hand side expression is another notation for hyperoperations.
Introduction The hyperoperations naturally extend the arithmetic operations of addition and multiplication as follows. Addition by a natural number is defined as iterated incrementation:
H1(a,b)=a+b=a+1+1+⋯+1⏟b copies of 1 Multiplication by a natural number is defined as iterated addition:
H2(a,b)=a×b=a+a+⋯+a⏟b copies of a For example,
4×3=4+4+4⏟=123 copies of 4 Exponentiation for a natural power b is defined as iterated multiplication, which Knuth denoted by a single up-arrow:
a↑b=H3(a,b)=ab=a×a×⋯×a⏟b copies of a For example,
4↑3=43=4×4×4⏟=643 copies of 4 Tetration is defined as iterated exponentiation, which Knuth denoted by a "double arrow":
a↑↑b=H4(a,b)=aa...a⏟=a↑(a↑(⋯↑a))⏟b copies of ab copies of a For example,
4↑↑3=444⏟=4↑(4↑4)⏟=42563 copies of 43 copies of 4 Expressions are evaluated from right to left, as the operators are defined to be right-associative. According to this definition,
3↑↑2=33=27 3↑↑3=333=327=7,625,597,484,987 3↑↑4=3333=3327=37625597484987 3↑↑5=33333=33327=337625597484987 etc. This already leads to some fairly large numbers, but the hyperoperator sequence does not stop here. Pentation, defined as iterated tetration, is represented by the "triple arrow":
a↑↑↑b=H5(a,b)=a↑↑(a↑↑(⋯↑↑a))⏟b copies of a Hexation, defined as iterated pentation, is represented by the "quadruple arrow":
a↑↑↑↑b=H6(a,b)=a↑↑↑(a↑↑↑(⋯↑↑↑a))⏟b copies of a and so on. The general rule is that an n-arrow operator expands into a right-associative series of (n−1)-arrow operators. Symbolically,
a ↑↑⋯↑⏟n b=a ↑⋯↑⏟n−1 (a ↑⋯↑⏟n−1 (⋯ ↑⋯↑⏟n−1 a))⏟b copies of a Examples:
3↑↑↑2=3↑↑3=333=327=7,625,597,484,987 3↑↑↑3=3↑↑(3↑↑3)=3↑↑(3↑3↑3)=3↑3↑⋯↑3⏟3↑3↑3 copies of 3=3↑3↑⋯↑3⏟7,625,597,484,987 copies of 3=3333⋅⋅⋅⋅3⏟7,625,597,484,987 copies of 3
Notation In expressions such as ab, the notation for exponentiation is usually to write the exponent b as a superscript to the base number a. But many environments — such as programming languages and plain-text e-mail — do not support superscript typesetting. People have adopted the linear notation a↑b for such environments; the up-arrow suggests 'raising to the power of'. If the character set does not contain an up arrow, the caret (^) is used instead. The superscript notation ab doesn't lend itself well to generalization, which explains why Knuth chose to work from the inline notation a↑b instead. a↑nb is a shorter alternative notation for n up arrows. Thus a↑4b=a↑↑↑↑b.
Writing out up-arrow notation in terms of powers Attempting to write a↑↑b using the familiar superscript notation gives a power tower.
For example: a↑↑4=a↑(a↑(a↑a))=aaaa If b is a variable (or is too large), the power tower might be written using dots and a note indicating the height of the tower.
a↑↑b=aa...a⏟b Continuing with this notation, a↑↑↑b could be written with a stack of such power towers, each describing the size of the one above it.
a↑↑↑4=a↑↑(a↑↑(a↑↑a))=aa...a⏟aa...a⏟aa...a⏟a Again, if b is a variable or is too large, the stack might be written using dots and a note indicating its height.
a↑↑↑b=aa...a⏟aa...a⏟⋮⏟a}b Furthermore, a↑↑↑↑b might be written using several columns of such stacks of power towers, each column describing the number of power towers in the stack to its left:
a↑↑↑↑4=a↑↑↑(a↑↑↑(a↑↑↑a))=aa...a⏟aa...a⏟⋮⏟a}aa...a⏟aa...a⏟⋮⏟a}aa...a⏟aa...a⏟⋮⏟a}a And more generally:
a↑↑↑↑b=aa...a⏟aa...a⏟⋮⏟a}aa...a⏟aa...a⏟⋮⏟a}⋯}a⏟b This might be carried out indefinitely to represent a↑nb as iterated exponentiation of iterated exponentiation for any a, n, and b (although it clearly becomes rather cumbersome).
Using tetration The Rudy Rucker notation ba for tetration allows us to make these diagrams slightly simpler while still employing a geometric representation (we could call these tetration towers).
a↑↑b=ba a↑↑↑b=a...aa⏟b a↑↑↑↑b=a...aa⏟a...aa⏟⋮⏟a}b Finally, as an example, the fourth Ackermann number 4↑44 could be represented as:
4...44⏟4...44⏟4...44⏟4=4...44⏟4...44⏟4444
Generalizations Some numbers are so large that multiple arrows of Knuth's up-arrow notation become too cumbersome; then an n-arrow operator ↑n is useful (and also for descriptions with a variable number of arrows), or equivalently, hyperoperators. Some numbers are so large that even that notation is not sufficient. The Conway chained arrow notation can then be used: a chain of three elements is equivalent with the other notations, but a chain of four or more is even more powerful.
… excerpt ends here. Continue reading the full article.