Main Page | Alphabetical index | English Encyclopedia

Knuth's up-arrow notation

From Wikipedia, the free encyclopedia.
In mathematics, Knuth's up-arrow notation is a notation for very large integers introduced by Donald Knuth in 1976. The idea is based on iterated exponentiation in much the same way that exponentiation is iterated multiplication, and multiplication is iterated addition.

Table of contents
1 Introduction
2 Notation
3 Generalizations
4 Definition
5 Tables of values
6 External links

Introduction

Multiplication can be defined as iterated addition:

and exponentiation can be defined as iterated multiplication:

which inspired Knuth to define a 'double arrow' operator for iterated exponentiation or tetration:

Here and below evaluation is to take place from right to left.

According to this definition,

etc.
This already leads to some pretty big numbers, but Knuth didn't stop here. He went on to define a 'triple arrow' operator for iterated application of the 'double arrow' operator (also known as quintation):
followed by a 'quad arrow' operator:
and so on. The general rule is that an n-arrow operator expands into a series of (n − 1)-arrow operators. Symbolically,

Examples:

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 such two-dimensional layout. People have adopted the linear notation ab for such environments; the up-arrow suggests 'raising to the power of'. If the character set doesn't contain an up arrow, the caret ^ is used instead.

The superscript notation ab doesn't lend itself well for generalization, which explains why Knuth chose to work from the inline notation ab instead.

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, hyper operators.

Some numbers are so large that even that notation is not sufficient. Graham's number is an example. The Conway chained arrow 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.

It is generally suggested that Knuth's arrow should be used for relatively smaller magnitude numbers, and the chained arrow or hyper operators for larger ones.

Definition

The up-arrow notation is formally defined by

for all integers a, b and n with b ≥ 0 and n ≥ 1.

All up-arrow operators (including normal exponentiation, ab) are right associative, i.e. evaluation is to take place from right to left in an expression that contains two or more such operators. For example, abc = a↑(bc), not (ab)↑c; for example

There is good reason for the choice of this right-to-left order of evaluation. If we used left-to-right evaluation, then a↑↑b would equal a↑(a↑(b-1)), so that ↑↑ would not be an essentially new operation. Right associativity is also natural because we can rewrite the iterated arrow expression that appears in the expansion of an+1b as , so that all the as appear as left operands of arrow operators. This is significant since the arrow operators are not commutative.

Tables of values

Computing can be restated in terms of an infinite table. We place the numbers 2 n in the top row, and fill the left column with values 2. To determine a number in the table, take the number immediately to the left, then look up the required number in the previous row, at the position given by the number just taken.

Values of = hyper(2,m+2,n) = 2 → n → m;
m\\n 1 2 3 4 5 6 7 formula
0 2 4 6 8 10 12 14 2n2n
1 2 4 8 16 32 64 128
2 2 4 16 65536
3 2 4 65536      
4 2 4        

Note: denotes a functional power of the function (the function also expressed by the suffix -plex as in googolplex).

The table is the same as that of the Ackermann function, except for a shift in m and n, and an addition of 3 to all values.

Computing

We place the numbers 3 n in the top row, and fill the left column with values 3. To determine a number in the table, take the number immediately to the left, then look up the required number in the previous row, at the position given by the number just taken.

Values of = hyper(3,m+2,n) = 3 → n → m;
m\\n 1 2 3 4 5 formula
0 3 6 9 12 15 3n3n
1 3 9 27 81 243
2 3 27 7,625,597,484,987  
3 3 7,625,597,484,987    
4 3      

Computing

We place the numbers 10 n in the top row, and fill the left column with values 10. To determine a number in the table, take the number immediately to the left, then look up the required number in the previous row, at the position given by the number just taken.

Values of = hyper(10,m+2,n) = 10 → n → m;
m\\n 1 2 3 4 5 formula
0 10 20 30 40 50 10n10n
1 10 100 1,000 10,000 100,000
2 10 10,000,000,000  
3 10      
4 10        

External links



Limit search to: Body and Title Deutsche Seiten Path

Websites for Knuth
Showing page 1 (1 - 10 of 59 hits) Next »
Das Onlinelexikon bietet eine Kurzinformation zu Knuth. Das Onlinelexikon bietet eine Kurzinformation zu Knuth.
Interview with Knuth, National Public Radio, by David Kestenbaum. Interview with Knuth, National Public Radio, by David Kestenbaum.
Announcement, MAA Online: Mathematical Association of America. Announcement, MAA Online: Mathematical Association of America.
Featured article about Knuth's work, with recent photos. Stanford Magazine. Featured article about Knuth's work, with recent photos. Stanford Magazine.
... based on one major technical or service contribution. Knuth published in 1968, Volume I of his monumental ... based on one major technical or service contribution. Knuth published in 1968, Volume I of his monumental ...
Downloadable recordings on topics: MIT God and Computers Lecture Series, MMIX. Questions and answers, and forum exchanges. Downloadable recordings on topics: MIT God and Computers Lecture Series, MMIX. Questions and answers, and forum exchanges.
Don Knuth's page for the TeXbook, METAFONT book and ... and procedures for reporting bugs and mistakes. Don Knuth's page for the TeXbook, METAFONT book and ...
... die Verleihung der Ehrendoktorwürde an Donald E. Knuth. Pressemitteilung der Universität über die Verleihung der Ehrendoktorwürde an Donald E. Knuth.
Biography of the great scientist by Nikolai Bezroukov. Biography of the great scientist by Nikolai Bezroukov.
A retrospective of the work of Don Knuth, written a few thousand years from now. A retrospective of the work of Don Knuth, written a few thousand years from now.

Next »

Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor
Free thumbnail preview by Thumbshots.org

Search for products at amazon.com:
Search:
Keywords:
amazon.com books on 'Knuth's up-arrow notation':
Search at Google.com:
Google
WebCalSky.com Encyclopedia

Suchresultate aus unserem günstigen CalSky-Shop