Lably
Skip to content

Knuth's up-arrow notation

  • 6 min read
  • 5 chapters

Related on Lably

Through Mathematics, Large numbers and Integer

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), pentation (n = 5), 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 2s

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. The square brackets are 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)⏟=4256≈1.34078079×101543 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≈1.2580143×103638334640024
3↑↑5=33333=33327=337625597484987≈31.2580143×103638334640024
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↑↑…↑⏟nb=a↑…↑⏟n−1(a↑…↑⏟n−1(…↑…↑⏟n−1a))⏟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

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Scientists, inventors and mathematicians