Ordered exponential: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Michael Hardy
No edit summary
 
Definition: alginment of punctuation
 
Line 1: Line 1:
I like my hobby Record collecting. <br>I to learn English in my spare time.
In [[mathematics]], '''Knuth's up-arrow notation''' is a method of notation for [[large number|very large]] [[integer]]s, introduced by [[Donald Knuth]] in 1976.<ref>{{cite journal |author=Knuth, Donald E. |title=Mathematics and Computer Science: Coping with Finiteness |journal=Science |volume=194 |issue=4271 |year=1976 |pages=1235–1242 |doi=10.1126/science.194.4271.1235 |pmid=17797067}}</ref> It is closely related to the [[Ackermann function]] and especially to the [[hyperoperation]] sequence. The idea is based on the fact that [[multiplication]] can be viewed as [[iteration|iterated]] [[addition]] and [[exponentiation]] as iterated [[multiplication]]. Continuing in this manner leads to [[Tetration|iterated exponentiation]] (tetration) and to the remainder of the hyperoperation sequence, which is commonly denoted using Knuth arrow notation.
 
==Introduction==
 
The ordinary arithmetical operations of [[addition]], [[multiplication]] and [[exponentiation]] are naturally extended into a sequence of [[hyperoperations]] as follows.
[[Multiplication]] by a [[natural number]] is defined as iterated [[addition]]:
 
:<math>
  \begin{matrix}
  a\times b & = & \underbrace{a+a+\dots+a} \\
  & & b\mbox{ copies of }a
  \end{matrix}
</math>
 
For example,
 
:<math>
  \begin{matrix}  4\times 3 & = & \underbrace{4+4+4} & = & 12\\
  & & 3\mbox{ copies of }4
  \end{matrix}
</math>
 
[[Exponentiation]] for a natural power <math>b</math> is defined as iterated multiplication, which Knuth denoted by a single up-arrow:
 
:<math>
  \begin{matrix}
  a\uparrow b= a^b = & \underbrace{a\times a\times\dots\times a}\\
  & b\mbox{ multiplied copies of }a
  \end{matrix}
</math>
 
For example,
 
:<math>
  \begin{matrix}
  4\uparrow 3= 4^3 = & \underbrace{4\times 4\times 4} & = & 64\\
  & 3\mbox{ multiplied copies of }4
  \end{matrix}
</math>
 
To extend the sequence of operations beyond exponentiation, Knuth defined a “double arrow” [[Operator (mathematics)|operator]] to denote iterated exponentiation ([[tetration]]):
 
:<math>
  \begin{matrix}
  a\uparrow\uparrow b & = {\ ^{b}a}  = & \underbrace{a^{a^{{}^{.\,^{.\,^{.\,^a}}}}}} &
  = & \underbrace{a\uparrow (a\uparrow(\dots\uparrow a))}
\\ 
    & & b\mbox{ multiplied copies of }a\uparrow
    & & b\mbox{ multiplied copies of }a\uparrow
  \end{matrix}
</math>
 
For example,
 
:<math>
  \begin{matrix}
  4\uparrow\uparrow 3 & = {\ ^{3}4}  = & \underbrace{4^{4^4}} &
  = & \underbrace{4\uparrow (4\uparrow 4)} & = & 4^{256} & \approx & 1.34078079\times 10^{154}&
\\ 
    & & 3\mbox{ multiplied copies of }4\uparrow
    & & 3\mbox{ multiplied copies of }4\uparrow
  \end{matrix}
</math>
 
Here and below evaluation is to take place from right to left, as Knuth's arrow operators (just like exponentiation) are defined to be [[Right associative operator|right-associative]].
 
According to this definition,
:<math>3\uparrow\uparrow 2=3^3=27 </math>
:<math>3\uparrow\uparrow 3=3^{3^3}=3^{27}=7625597484987 </math>
:<math>3\uparrow\uparrow 4=3^{3^{3^3}}=3^{3^{27}}=3^{7625597484987}\approx 1.2580143\times 10^{3638334640024}
</math>
:<math>3\uparrow\uparrow 5=3^{3^{3^{3^3}}}=3^{3^{3^{27}}}=3^{3^{7625597484987}} </math>
:etc.
 
This already leads to some fairly large numbers, but Knuth extended the notation. He went on to define a “triple arrow” operator for iterated application of the “double arrow” operator (also known as [[pentation]]):
 
:<math>
  \begin{matrix}
  a\uparrow\uparrow\uparrow b= &
    \underbrace{a_{}\uparrow\uparrow (a\uparrow\uparrow(\dots\uparrow\uparrow a))}\\
    & b\mbox{ multiplied copies of }a
  \end{matrix}
</math>
 
followed by a 'quadruple arrow' operator (also known as hexation):
 
:<math>
  \begin{matrix}
  a\uparrow\uparrow\uparrow\uparrow b= &
    \underbrace{a_{}\uparrow\uparrow\uparrow (a\uparrow\uparrow\uparrow(\dots\uparrow\uparrow\uparrow a))}\\
    & b\mbox{ multiplied copies of }a
  \end{matrix}
</math>
 
and so on. The general rule is that an <math>n</math>-arrow operator expands into a right-associative series of (<math>n - 1</math>)-arrow operators. Symbolically,
 
:<math>
  \begin{matrix}
  a\ \underbrace{\uparrow_{}\uparrow\!\!\dots\!\!\uparrow}_{n}\ b=
    \underbrace{a\ \underbrace{\uparrow\!\!\dots\!\!\uparrow}_{n-1}
    \ (a\ \underbrace{\uparrow_{}\!\!\dots\!\!\uparrow}_{n-1}
    \ (\dots
    \ \underbrace{\uparrow_{}\!\!\dots\!\!\uparrow}_{n-1}
    \ a))}_{b\text{ multiplied copies of }a}
  \end{matrix}
</math>
 
Examples:
 
:<math>3\uparrow\uparrow\uparrow2 = 3\uparrow\uparrow3 = 3^{3^3} = 3^{27}=7,625,597,484,987</math>
 
:<math>
  \begin{matrix}
    3\uparrow\uparrow\uparrow3 = 3\uparrow\uparrow3\uparrow\uparrow3 = 3\uparrow\uparrow(3\uparrow3\uparrow3) = &
    \underbrace{3_{}\uparrow 3\uparrow\dots\uparrow 3} \\
  & 3\uparrow3\uparrow3\mbox{ multiplied copies of }3
  \end{matrix}
  \begin{matrix}
  = & \underbrace{3_{}\uparrow 3\uparrow\dots\uparrow 3} \\
  & \mbox{7,625,597,484,987 multiplied copies of 3}
  \end{matrix}=\underbrace{3^{3^{3^{3^{\cdot^{\cdot^{\cdot^{\cdot^{3}}}}}}}}}_{7,625,597,484,987}
</math>
 
The notation <math>a \uparrow^n b</math> is commonly used to denote <math>a \uparrow\uparrow \dots \uparrow b</math> with ''n'' arrows.
 
==Notation==
In expressions such as <math>a^b</math>, the notation for exponentiation is usually to write the exponent <math>b</math> as a superscript to the base number <math>a</math>. But many environments &mdash; such as [[programming language]]s and plain-text [[e-mail]] &mdash; do not support superscript typesetting. People have adopted the linear notation <math>a \uparrow b</math> 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 <math>a^b</math> doesn't lend itself well to generalization, which explains why Knuth chose to work from the inline notation <math>a \uparrow b</math> instead.
 
<math>a \uparrow^n b</math> is a shorter alternative notation for n uparrows. Thus <math>a \uparrow^4 b = a \uparrow \uparrow \uparrow \uparrow b</math>.
 
===Writing out up-arrow notation in terms of powers===
Attempting to write <math>a \uparrow \uparrow b</math> using the familiar superscript notation gives a power tower.
 
:For example: <math>a \uparrow \uparrow 4 = a \uparrow (a \uparrow (a \uparrow a)) = a^{a^{a^a}}</math>
 
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.
 
:<math>a \uparrow \uparrow b = \underbrace{a^{a^{.^{.^{.{a}}}}}}_{b}</math>
 
Continuing with this notation, <math>a \uparrow \uparrow \uparrow b</math> could be written with a stack of such power towers, each describing the size of the one above it.
 
:<math>a \uparrow \uparrow \uparrow 4 = a \uparrow \uparrow (a \uparrow \uparrow (a \uparrow \uparrow a)) =
  \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{a} }}</math>
 
Again, if ''b'' is a variable or is too large, the stack might be written using dots and a note indicating its height.
 
:<math>a \uparrow \uparrow \uparrow b =
  \left. \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{\vdots}_{a} }} \right\} b</math>
 
Furthermore, <math>a \uparrow \uparrow \uparrow \uparrow b</math> 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:
 
:<math>a \uparrow \uparrow \uparrow \uparrow 4 = a \uparrow \uparrow \uparrow (a \uparrow \uparrow \uparrow (a \uparrow \uparrow \uparrow a)) =
  \left.\left.\left. \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{\vdots}_{a} }} \right\}
                    \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{\vdots}_{a} }} \right\}
                    \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{\vdots}_{a} }} \right\}
                    a</math>
 
And more generally:
 
:<math>a \uparrow \uparrow \uparrow \uparrow b =
  \underbrace{
    \left.\left.\left. \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{\vdots}_{a} }} \right\}
                      \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{a^{a^{.^{.^{.{a}}}}}}_{ \underbrace{\vdots}_{a} }} \right\}
                      \cdots \right\}
                      a
  }_{b}</math>
 
This might be carried out indefinitely to represent <math>a \uparrow^n b</math> as iterated exponentiation of iterated exponentiation for any ''a'', ''n'' and ''b'' (although it clearly becomes rather cumbersome).
 
====Using tetration====
 
The [[tetration]] notation <math>^{b}a</math> allows us to make these diagrams slightly simpler while still employing a geometric representation (we could call these ''tetration towers'').
 
: <math> a \uparrow \uparrow b = { }^{b}a</math>
 
: <math> a \uparrow \uparrow \uparrow b = \underbrace{^{^{^{^{^{a}.}.}.}a}a}_{b}</math>
 
: <math> a \uparrow \uparrow \uparrow \uparrow b =
  \left. \underbrace{^{^{^{^{^{a}.}.}.}a}a}_{ \underbrace{^{^{^{^{^{a}.}.}.}a}a}_{ \underbrace{\vdots}_{a} }} \right\} b</math>
 
Finally, as an example, the fourth Ackermann number <math>4 \uparrow^4 4</math> could be represented as:
: <math>\underbrace{^{^{^{^{^{4}.}.}.}4}4}_{ \underbrace{^{^{^{^{^{4}.}.}.}4}4}_{ \underbrace{^{^{^{^{^{4}.}.}.}4}4}_{4} }} =
        \underbrace{^{^{^{^{^{4}.}.}.}4}4}_{ \underbrace{^{^{^{^{^{4}.}.}.}4}4}_{ ^{^{^{4}4}4}4 }}</math>
 
==Generalizations==
Some numbers are so large that multiple arrows of Knuth's up-arrow notation become too cumbersome; then an ''n''-arrow operator  <math>\uparrow^n</math> is useful (and also for descriptions with a variable number of arrows), or equivalently, [[hyper operator]]s.
 
Some numbers are so large that even that notation is not sufficient.  [[Graham's number]] is an example. 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.
 
:<math>
  \begin{matrix}
  a\uparrow^n b & = & \mbox{hyper}(a,n+2,b) & = & a\to b\to n \\
  \mbox{(Knuth)} & & & & \mbox{(Conway)}
  \end{matrix}
</math>
 
It is generally suggested that Knuth's arrow should be used for smaller magnitude numbers, and the chained arrow or hyper operators for larger ones.
 
==Definition==
 
The up-arrow notation is formally defined by
 
:<math>
  a\uparrow^n b=
  \left\{
  \begin{matrix}
    a\times b, & \mbox{if }n=0; \\
    a^b, & \mbox{if }n=1; \\
    1, & \mbox{if }b=0; \\
    a\uparrow^{n-1}(a\uparrow^n(b-1)), & \mbox{otherwise}
  \end{matrix}
  \right.
</math>
for all integers <math>a, b, n</math> with <math>b \ge 0, n \ge 1</math>.
 
All up-arrow operators (including normal exponentiation, <math>a \uparrow b</math>) are [[Associativity#Non-associativity|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, <math>a \uparrow b \uparrow c = a \uparrow (b \uparrow c)</math>, not <math>(a \uparrow b) \uparrow c</math>; for example
<br><math>3\uparrow\uparrow 3=3^{3^3}</math> is <math>3^{(3^3)}=3^{27}=7625597484987</math> not <math>\left(3^3\right)^3=27^3=19683.</math>
 
There is good reason for the choice of this right-to-left order of evaluation. If we used left-to-right evaluation, then <math>a \uparrow\uparrow b</math> would equal
<math>a \uparrow (a \uparrow (b - 1))</math>, so that <math>\uparrow\uparrow</math> would not be an essentially new operation.
Right associativity is also natural because we can rewrite the iterated arrow expression <math>a\uparrow^n\cdots\uparrow^na</math> that appears
in the expansion of <math>a \uparrow^{n + 1}b</math> as
<math>a\uparrow^n\cdots\uparrow^na\uparrow^n1</math>, so that all the <math>a</math>s appear
as left operands of arrow operators. This is significant since the arrow operators are not [[commutativity|commutative]].
 
Writing <math>(a\uparrow ^m)^b</math> for the ''b''th [[functional power]] of the function <math>f(x)=a\uparrow ^m x</math> we have <math>a\uparrow ^n b = (a\uparrow ^{n-1})^b 1</math>.
 
The definition could be extrapolated one step, starting with <math>a\uparrow^n b=    ab</math> if ''n'' = 0, because exponentiation is repeated multiplication starting with 1. Extrapolating one step more, writing multiplication as repeated addition, is not as straightforward because multiplication is repeated addition starting with 0 instead of 1. "Extrapolating" again one step more, writing addition of ''n'' as repeated addition of 1, requires starting with the number ''a''. Compare the [[Hyperoperation#Definition|definition of the hyper operator]], where the starting values for addition and multiplication are also separately specified.
 
==Tables of values==<!-- This section is linked from [[Hyper operator]] -->
 
===Computing 2↑<sup>''m''</sup>''n''===
 
Computing <math>2\uparrow^m n</math> can be restated in terms of an infinite table. We place the numbers <math>2^n</math> 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.
 
{| class="wikitable"
|+ Values of <math>2\uparrow^m n</math> = [[Hyper operator|hyper]](2,&nbsp;''m''&nbsp;+&nbsp;2,&nbsp;''n'') = [[Conway chained arrow notation|2 → n → m]]
|-
! ''m''\''n''
! 1
! 2
! 3
! 4
! 5
! 6
! formula
|-
! 1
| 2 || 4 || 8 || 16 || 32 || 64 || <math>2^n</math>
|-
! 2
| 2 || 4 || 16 || 65536 || <math>2^{65\,536}\approx 2.0 \times 10^{19\,728}</math> || <math>2^{2^{65\,536}}\approx 10^{6.0 \times 10^{19\,727}}</math> || <math>2\uparrow\uparrow n</math>
|-
! 3
| 2 || 4 || 65536 ||  <math>
  \begin{matrix}
  \underbrace{2_{}^{2^{{}^{.\,^{.\,^{.\,^2}}}}}} \\
  65536\mbox{ multiplied copies of }2  \end{matrix}
</math> || &nbsp; || &nbsp; || <math>2\uparrow\uparrow\uparrow n</math>
|-
! 4
| 2 || 4 || <math>
  \begin{matrix}
  \underbrace{2_{}^{2^{{}^{.\,^{.\,^{.\,^2}}}}}}\\
  65536\mbox{ multiplied copies of }2
  \end{matrix}</math> || &nbsp; || &nbsp; || &nbsp;
| <math>2\uparrow\uparrow\uparrow\uparrow n</math>
|}
 
The table is the same as [[Ackermann function#Table of values|that of the Ackermann function]], except for a shift in <math>m</math> and <math>n</math>, and an addition of 3 to all values.
 
===Computing 3↑<sup>''m''</sup>''n''===
 
We place the numbers <math>3^n</math> 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.
 
{| class="wikitable"
|+ Values of <math>3\uparrow^m n</math> = [[Hyper operator|hyper]](3,&nbsp;''m''&nbsp;+&nbsp;2,&nbsp;''n'') = [[Conway chained arrow notation|3 → n → m]]
|-
! ''m''\''n''
! 1
! 2
! 3
! 4
! 5
! formula
|-
! 1
| 3 || 9 || 27 || 81 || 243 || <math>3^n</math>
|-
! 2
| 3 || 27 || 7,625,597,484,987  || <math>3^{7{,}625{,}597{,}484{,}987}</math>  ||  &nbsp; || <math>3\uparrow\uparrow n</math>
|-
! 3
| 3 || 7,625,597,484,987 || <math>
  \begin{matrix}
  \underbrace{3_{}^{3^{{}^{.\,^{.\,^{.\,^3}}}}}}\\
  7{,}625{,}597{,}484{,}987\mbox{ multiplied copies of }3
  \end{matrix}</math> || &nbsp; || &nbsp; || <math>3\uparrow\uparrow\uparrow n</math>
|-
! 4
| 3 || <math>\begin{matrix}
  \underbrace{3_{}^{3^{{}^{.\,^{.\,^{.\,^3}}}}}}\\
  7{,}625{,}597{,}484{,}987\mbox{ multiplied copies of }3
  \end{matrix}</math> || &nbsp; || &nbsp; || &nbsp;
| <math>3\uparrow\uparrow\uparrow\uparrow n</math>
|}
 
===Computing 10↑<sup>''m''</sup>''n''===
 
We place the numbers <math>10^n</math> 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.
 
{| class="wikitable"
|+ Values of <math>10\uparrow^m n</math> = [[Hyper operator|hyper]](10,&nbsp;''m''&nbsp;+&nbsp;2,&nbsp;''n'') = [[Conway chained arrow notation|10 → n → m]]
|-
! ''m''\''n''
! 1
! 2
! 3
! 4
! 5
! formula
|-
! 1
| 10 || 100 || 1,000 || 10,000 || 100,000 || <math>10^n</math>
|-
! 2
| 10 || 10,000,000,000 || <math>10^{10,000,000,000}</math>  || <math>10^{10^{10,000,000,000}}</math>  || <math>10^{10^{10^{10,000,000,000}}}</math> || <math>10\uparrow\uparrow n</math>
|-
! 3
| 10 || <math>
  \begin{matrix}
  \underbrace{10_{}^{10^{{}^{.\,^{.\,^{.\,^{10}}}}}}}\\
  10\mbox{ multiplied copies of }10
  \end{matrix}</math> || <math>
  \begin{matrix}
  \underbrace{10_{}^{10^{{}^{.\,^{.\,^{.\,^{10}}}}}}}\\
  \underbrace{10_{}^{10^{{}^{.\,^{.\,^{.\,^{10}}}}}}}\\
  10\mbox{ multiplied copies of }10
  \end{matrix}</math> || <math>
  \begin{matrix}
  \underbrace{10_{}^{10^{{}^{.\,^{.\,^{.\,^{10}}}}}}}\\
  \underbrace{10_{}^{10^{{}^{.\,^{.\,^{.\,^{10}}}}}}}\\
  \underbrace{10_{}^{10^{{}^{.\,^{.\,^{.\,^{10}}}}}}}\\
  10\mbox{ multiplied copies of }10
  \end{matrix}</math> || &nbsp; || <math>10\uparrow\uparrow\uparrow n</math>
|-
! 4
| 10 || <math>
  \begin{matrix}
  \underbrace{^{^{^{^{^{10}.}.}.}10}10}\\
  10\mbox{ multiplied copies of }10
  \end{matrix}</math> || <math>
  \begin{matrix}
  \underbrace{^{^{^{^{^{10}.}.}.}10}10}\\
  \underbrace{^{^{^{^{^{10}.}.}.}10}10}\\
  10\mbox{ multiplied copies of }10
  \end{matrix}</math> || &nbsp; || &nbsp;
| <math>10\uparrow\uparrow\uparrow\uparrow n</math>
|}
 
Note that for 2 ≤ ''n'' ≤ 9 the numerical order of the numbers <math>10\uparrow^m n</math> is the [[lexicographical order]] with ''m'' as the most significant number, so for the numbers of these 8 columns the numerical order is simply line-by-line. The same applies for the numbers in the 97 columns with 3 ≤ ''n'' ≤ 99, and if we start from ''m'' = 1 even for 3 ≤ ''n'' ≤ 9,999,999,999.
 
==Numeration systems based on the hyperoperation sequence==
 
[[Reuben Goodstein|R. L. Goodstein]],<ref>{{cite journal |author=Goodstein, R. L.|title=Transfinite ordinals in recursive number theory |jstor=2266486 |journal=Journal of Symbolic Logic |volume=12 |year=1947 |issue=4 |doi=10.2307/2266486 |pages=123–129}}</ref> with a system of notation different from Knuth arrows, used the sequence of [[hyperoperation|hyperoperators]] here denoted by <math>( +, \ \times, \ \uparrow, \ \uparrow\uparrow, \ \dots)\,\!</math> to create systems of numeration for the nonnegative integers.  Letting superscripts  <math> \quad ( ^{(1)}, \ ^{(2)}, \ ^{(3)}, \ ^{(4)}, \ \dots )\,\!</math> denote the respective hyperoperators <math>( +, \ \times, \ \uparrow, \ \uparrow\uparrow, \ \dots)\,\!</math>, the so-called ''complete hereditary representation'' of integer ''n'', at level ''k'' and base ''b'', can be expressed as follows using only the first ''k'' hyperoperators and using as digits only 0, 1, ..., ''b''-1:
 
* For 0 ≤ ''n'' ≤ ''b''-1, ''n'' is represented simply by the corresponding digit.
* For ''n'' > ''b''-1, the representation of ''n'' is found recursively, first representing ''n'' in the form
:<math>b^{(k)}{x_k}^{(k-1)}{x_{k-1}}^{(k-2)} \dots {x_2}^{(1)}x_1</math>
:where ''x''<sub>''k''</sub>, ..., ''x''<sub>1</sub> are the largest integers satisfying (in turn)
 
:<math>b^{(k)}x_k \le n</math>
 
:<math>b^{(k)}{x_k}^{(k-1)}x_{k-1} \le n</math>
 
:...
 
:<math>b^{(k)}{x_k}^{(k-1)}{x_{k-1}}^{(k-2)} \dots {x_2}^{(1)}x_1 \le n</math>.
 
:Any ''x''<sub>''i''</sub> exceeding ''b''-1 is then re-expressed in the same manner, and so on, repeating this procedure until the resulting form contains only the digits 0, 1, ..., ''b''-1.
 
The remainder of this section will use <math>( +, \ \times, \ \uparrow, \ \uparrow\uparrow, \ \uparrow\uparrow\uparrow, \ \dots)</math>, rather than superscripts, to denote the hyperoperators.
Unnecessary parentheses can be avoided by giving higher-level operators higher precedence in the order of evaluation; thus,
 
level-1 representations have the form <math>b + X</math>, with ''X'' also of this form;
 
level-2 representations have the form <math>b \times X + Y</math>, with ''X'',''Y'' also of this form;
 
level-3 representations have the form <math>b \uparrow X \times Y + Z</math>, with ''X'',''Y'',''Z'' also of this form;
 
level-4 representations have the  form <math>b \uparrow\uparrow X \uparrow Y \times Z + T</math>, with ''X'',''Y'',''Z'',''T'' also of this form;
 
and so on. 
 
The representations can be abbreviated by omitting any instances of <math>+0, \ \times1, \uparrow1, \ \uparrow\uparrow1, </math> etc.;  for example, the level-3 base-2 representation of the number 6 is <math>2\uparrow(2\uparrow1\times1+0)\times1+(2\uparrow1\times1+0)</math>, which abbreviates to <math>2 \uparrow 2 + 2</math>.
 
Examples:
The unique base-2 representations of the number 266, at levels 1, 2, 3, 4, and 5 are as follows:
 
:<math>\text{Level 1:} \ \ 266 = 2 + 2 + \dots + 2 \ \ \text{(with 133 2s)}</math>
:<math>\text{Level 2:} \ \ 266 = 2 \times (2 \times (2 \times (2 \times 2 \times 2 \times 2 \times 2 + 1)) + 1)</math>
:<math>\text{Level 3:} \ \ 266 = 2 \uparrow 2 \uparrow (2 + 1) + 2 \uparrow (2 + 1) + 2</math>
:<math>\text{Level 4:} \ \ 266 = 2 \uparrow\uparrow (2 + 1) \uparrow 2 + 2 \uparrow\uparrow 2 \times 2 + 2</math>
:<math>\text{Level 5:} \ \ 266 = 2 \uparrow\uparrow\uparrow 2 \uparrow\uparrow 2 + 2 \uparrow\uparrow\uparrow 2 \times 2 + 2</math>.
 
==See also==
 
*[[Primitive recursion]]
*[[Hyper operator]]
*[[Busy beaver]]
*[[Cutler's bar notation]]
*[[Tetration]]
 
==References==
{{reflist}}
 
==External links==
* {{mathworld|urlname=ArrowNotation|title=Arrow Notation}}
* Robert Munafo, ''[http://www.mrob.com/pub/math/largenum.html Large Numbers]''
 
[[Category:Mathematical notation]]
[[Category:Large numbers]]
[[Category:Donald Knuth]]

Latest revision as of 02:56, 24 October 2013

In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976.[1] It is closely related to the Ackermann function and especially to the hyperoperation sequence. The idea is based on the fact that multiplication can be viewed as iterated addition and exponentiation as iterated multiplication. Continuing in this manner leads to iterated exponentiation (tetration) and to the remainder of the hyperoperation sequence, which is commonly denoted using Knuth arrow notation.

Introduction

The ordinary arithmetical operations of addition, multiplication and exponentiation are naturally extended into a sequence of hyperoperations as follows.

Multiplication by a natural number is defined as iterated addition:

a×b=a+a++ab 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:

ab=ab=a×a××ab multiplied copies of a

For example,

43=43=4×4×4=643 multiplied copies of 4

To extend the sequence of operations beyond exponentiation, Knuth defined a “double arrow” operator to denote iterated exponentiation (tetration):

ab=ba=aa...a=a(a(a))b multiplied copies of ab multiplied copies of a

For example,

43=34=444=4(44)=42561.34078079×101543 multiplied copies of 43 multiplied copies of 4

Here and below evaluation is to take place from right to left, as Knuth's arrow operators (just like exponentiation) are defined to be right-associative.

According to this definition,

32=33=27
33=333=327=7625597484987
34=3333=3327=376255974849871.2580143×103638334640024
35=33333=33327=337625597484987
etc.

This already leads to some fairly large numbers, but Knuth extended the notation. He went on to define a “triple arrow” operator for iterated application of the “double arrow” operator (also known as pentation):

ab=a(a(a))b multiplied copies of a

followed by a 'quadruple arrow' operator (also known as hexation):

ab=a(a(a))b multiplied copies of a

and so on. The general rule is that an n-arrow operator expands into a right-associative series of (n1)-arrow operators. Symbolically,

anb=an1(an1(n1a))b multiplied copies of a

Examples:

32=33=333=327=7,625,597,484,987
33=333=3(333)=333333 multiplied copies of 3=3337,625,597,484,987 multiplied copies of 3=333337,625,597,484,987

The notation anb is commonly used to denote ab with n arrows.

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 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 to generalization, which explains why Knuth chose to work from the inline notation ab instead.

anb is a shorter alternative notation for n uparrows. Thus a4b=ab.

Writing out up-arrow notation in terms of powers

Attempting to write ab using the familiar superscript notation gives a power tower.

For example: a4=a(a(aa))=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.

ab=aa...ab

Continuing with this notation, ab could be written with a stack of such power towers, each describing the size of the one above it.

a4=a(a(aa))=aa...aaa...aaa...aa

Again, if b is a variable or is too large, the stack might be written using dots and a note indicating its height.

ab=aa...aaa...aa}b

Furthermore, ab 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:

a4=a(a(aa))=aa...aaa...aa}aa...aaa...aa}aa...aaa...aa}a

And more generally:

ab=aa...aaa...aa}aa...aaa...aa}}ab

This might be carried out indefinitely to represent anb as iterated exponentiation of iterated exponentiation for any a, n and b (although it clearly becomes rather cumbersome).

Using tetration

The tetration notation ba allows us to make these diagrams slightly simpler while still employing a geometric representation (we could call these tetration towers).

ab=ba
ab=a...aab
ab=a...aaa...aaa}b

Finally, as an example, the fourth Ackermann number 444 could be represented as:

4...444...444...444=4...444...444444

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 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.

anb=hyper(a,n+2,b)=abn(Knuth)(Conway)

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

Definition

The up-arrow notation is formally defined by

anb={a×b,if n=0;ab,if n=1;1,if b=0;an1(an(b1)),otherwise

for all integers a,b,n with b0,n1.

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
33=333 is 3(33)=327=7625597484987 not (33)3=273=19683.

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

Writing (am)b for the bth functional power of the function f(x)=amx we have anb=(an1)b1.

The definition could be extrapolated one step, starting with anb=ab if n = 0, because exponentiation is repeated multiplication starting with 1. Extrapolating one step more, writing multiplication as repeated addition, is not as straightforward because multiplication is repeated addition starting with 0 instead of 1. "Extrapolating" again one step more, writing addition of n as repeated addition of 1, requires starting with the number a. Compare the definition of the hyper operator, where the starting values for addition and multiplication are also separately specified.

Tables of values

Computing 2↑mn

Computing 2mn can be restated in terms of an infinite table. We place the numbers 2n 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 2mn = hyper(2, m + 2, n) = 2 → n → m
m\n 1 2 3 4 5 6 formula
1 2 4 8 16 32 64 2n
2 2 4 16 65536 2655362.0×1019728 2265536106.0×1019727 2n
3 2 4 65536 22...265536 multiplied copies of 2     2n
4 2 4 22...265536 multiplied copies of 2       2n

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 3↑mn

We place the numbers 3n 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 3mn = hyper(3, m + 2, n) = 3 → n → m
m\n 1 2 3 4 5 formula
1 3 9 27 81 243 3n
2 3 27 7,625,597,484,987 37,625,597,484,987   3n
3 3 7,625,597,484,987 33...37,625,597,484,987 multiplied copies of 3     3n
4 3 33...37,625,597,484,987 multiplied copies of 3       3n

Computing 10↑mn

We place the numbers 10n 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 10mn = hyper(10, m + 2, n) = 10 → n → m
m\n 1 2 3 4 5 formula
1 10 100 1,000 10,000 100,000 10n
2 10 10,000,000,000 1010,000,000,000 101010,000,000,000 10101010,000,000,000 10n
3 10 1010...1010 multiplied copies of 10 1010...101010...1010 multiplied copies of 10 1010...101010...101010...1010 multiplied copies of 10   10n
4 10 10...101010 multiplied copies of 10 10...101010...101010 multiplied copies of 10     10n

Note that for 2 ≤ n ≤ 9 the numerical order of the numbers 10mn is the lexicographical order with m as the most significant number, so for the numbers of these 8 columns the numerical order is simply line-by-line. The same applies for the numbers in the 97 columns with 3 ≤ n ≤ 99, and if we start from m = 1 even for 3 ≤ n ≤ 9,999,999,999.

Numeration systems based on the hyperoperation sequence

R. L. Goodstein,[2] with a system of notation different from Knuth arrows, used the sequence of hyperoperators here denoted by (+,×,,,) to create systems of numeration for the nonnegative integers. Letting superscripts ((1),(2),(3),(4),) denote the respective hyperoperators (+,×,,,), the so-called complete hereditary representation of integer n, at level k and base b, can be expressed as follows using only the first k hyperoperators and using as digits only 0, 1, ..., b-1:

  • For 0 ≤ nb-1, n is represented simply by the corresponding digit.
  • For n > b-1, the representation of n is found recursively, first representing n in the form
b(k)xk(k1)xk1(k2)x2(1)x1
where xk, ..., x1 are the largest integers satisfying (in turn)
b(k)xkn
b(k)xk(k1)xk1n
...
b(k)xk(k1)xk1(k2)x2(1)x1n.
Any xi exceeding b-1 is then re-expressed in the same manner, and so on, repeating this procedure until the resulting form contains only the digits 0, 1, ..., b-1.

The remainder of this section will use (+,×,,,,), rather than superscripts, to denote the hyperoperators.

Unnecessary parentheses can be avoided by giving higher-level operators higher precedence in the order of evaluation; thus,

level-1 representations have the form b+X, with X also of this form;

level-2 representations have the form b×X+Y, with X,Y also of this form;

level-3 representations have the form bX×Y+Z, with X,Y,Z also of this form;

level-4 representations have the form bXY×Z+T, with X,Y,Z,T also of this form;

and so on.

The representations can be abbreviated by omitting any instances of +0,×1,1,1, etc.; for example, the level-3 base-2 representation of the number 6 is 2(21×1+0)×1+(21×1+0), which abbreviates to 22+2.

Examples: The unique base-2 representations of the number 266, at levels 1, 2, 3, 4, and 5 are as follows:

Level 1:266=2+2++2(with 133 2s)
Level 2:266=2×(2×(2×(2×2×2×2×2+1))+1)
Level 3:266=22(2+1)+2(2+1)+2
Level 4:266=2(2+1)2+22×2+2
Level 5:266=222+22×2+2.

See also

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

External links

  • 22 year-old Systems Analyst Rave from Merrickville-Wolford, has lots of hobbies and interests including quick cars, property developers in singapore and baking. Always loves visiting spots like Historic Monuments Zone of Querétaro.

    Here is my web site - cottagehillchurch.com
  • Robert Munafo, Large Numbers
  1. One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  2. One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang