Graham's number

From HandWiki
Short description: Immense number proposed by Ronald Graham

Graham's number is a large number that arose as an upper bound on the answer of a problem in the mathematical field of Ramsey theory. It is much larger than many other large numbers such as Skewes's number and Moser's number, both of which are in turn much larger than a googolplex. As with these, it is so large that the observable universe is far too small to contain an ordinary digital representation of Graham's number, assuming that each digit occupies one Planck volume, possibly the smallest measurable space. But even the number of digits in this digital representation of Graham's number would itself be a number so large that its digital representation cannot be represented in the observable universe. Nor even can the number of digits of that number—and so forth, for a number of times far exceeding the total number of Planck volumes in the observable universe. Thus Graham's number cannot be expressed even by physical universe-scale power towers of the form [math]\displaystyle{ a ^{ b ^{ c ^{ \cdot ^{ \cdot ^{ \cdot}}}}} }[/math].

However, Graham's number can be explicitly given by computable recursive formulas using Knuth's up-arrow notation or equivalent, as was done by Ronald Graham, the number's namesake. As there is a recursive formula to define it, it is much smaller than typical busy beaver numbers. Though too large to ever be computed in full, the sequence of digits of Graham's number can be computed explicitly via simple algorithms; the last 13 digits are ...7262464195387. Using Knuth's up-arrow notation, Graham's number is [math]\displaystyle{ g_{64} }[/math],[1] where [math]\displaystyle{ g_n = \left\{ \begin{matrix} 3\uparrow\uparrow\uparrow\uparrow3, & n=1 \\ 3\uparrow^{g_{n-1}}3, & n \ge 2, n \in \mathbb{N} \end{matrix} \right. }[/math]

Graham's number was used by Graham in conversations with popular science writer Martin Gardner as a simplified explanation of the upper bounds of the problem he was working on. In 1977, Gardner described the number in Scientific American, introducing it to the general public. At the time of its introduction, it was the largest specific positive integer ever to have been used in a published mathematical proof. The number was described in the 1980 Guinness Book of World Records, adding to its popular interest. Other specific integers (such as TREE(3)) known to be far larger than Graham's number have since appeared in many serious mathematical proofs, for example in connection with Harvey Friedman's various finite forms of Kruskal's theorem. Additionally, smaller upper bounds on the Ramsey theory problem from which Graham's number was derived have since been proven to be valid.

Context

Example of a 2-colored 3-dimensional cube containing one single-coloured 4-vertex coplanar complete subgraph. The subgraph is shown below the cube. Note that this cube would contain no such subgraph if, for example, the bottom edge in the present subgraph were replaced by a blue edge – thus proving by counterexample that N* > 3.

Graham's number is connected to the following problem in Ramsey theory:

Connect each pair of geometric vertices of an n-dimensional hypercube to obtain a complete graph on 2n vertices. Colour each of the edges of this graph either red or blue. What is the smallest value of n for which every such colouring contains at least one single-coloured complete subgraph on four coplanar vertices?

In 1971, Graham and Rothschild proved the Graham–Rothschild theorem on the Ramsey theory of parameter words, a special case of which shows that this problem has a solution N*. They bounded the value of N* by 6 ≤ N*N, with N being a large but explicitly defined number

[math]\displaystyle{ F^7(12) = F(F(F(F(F(F(F(12))))))), }[/math]

where [math]\displaystyle{ F(n) = 2\uparrow^n 3 }[/math] in Knuth's up-arrow notation; the number is between 4 → 2 → 8 → 2 and 2 → 3 → 9 → 2 in Conway chained arrow notation.[2] This was reduced in 2014 via upper bounds on the Hales–Jewett number to

[math]\displaystyle{ N' = 2 \uparrow\uparrow 2 \uparrow\uparrow (3 + 2 \uparrow\uparrow 8), }[/math]

which contains three tetrations.[3] In 2019 this was further improved to:[4]

[math]\displaystyle{ N'' = (2 \uparrow\uparrow 5138) \cdot ((2 \uparrow\uparrow 5140) \uparrow\uparrow (2 \cdot 2 \uparrow\uparrow 5137)) \ll 2 \uparrow\uparrow (2 \uparrow\uparrow 5138) }[/math]

The lower bound of 6 was later improved to 11 by Geoffrey Exoo in 2003,[5] and to 13 by Jerome Barkley in 2008.[6] Thus, the best known bounds for N* are 13 ≤ N*N''.

Graham's number, G, is much larger than N: [math]\displaystyle{ f^{64}(4) }[/math], where [math]\displaystyle{ f(n) = 3 \uparrow^n 3 }[/math]. This weaker upper bound for the problem, attributed to an unpublished work of Graham, was eventually published and named by Martin Gardner in Scientific American in November 1977.[7]

Publication

The number gained a degree of popular attention when Martin Gardner described it in the "Mathematical Games" section of Scientific American in November 1977, writing that Graham had recently established, in an unpublished proof, "a bound so vast that it holds the record for the largest number ever used in a serious mathematical proof." The 1980 Guinness Book of World Records repeated Gardner's claim, adding to the popular interest in this number. According to physicist John Baez, Graham invented the quantity now known as Graham's number in conversation with Gardner. While Graham was trying to explain a result in Ramsey theory which he had derived with his collaborator Bruce Lee Rothschild, Graham found that the said quantity was easier to explain than the actual number appearing in the proof. Because the number which Graham described to Gardner is larger than the number in the paper itself, both are valid upper bounds for the solution to the problem studied by Graham and Rothschild.[8]

Definition

Using Knuth's up-arrow notation, Graham's number G (as defined in Gardner's Scientific American article) is [math]\displaystyle{ \left. \begin{matrix} G &=&3\underbrace{\uparrow \uparrow \cdots \cdots \cdots \cdots \cdots \uparrow}3 \\ & &3\underbrace{\uparrow \uparrow \cdots \cdots \cdots \cdots \uparrow}3 \\ & & \underbrace{\qquad \quad \vdots \qquad \quad} \\ & &3\underbrace{\uparrow \uparrow \cdots \cdots \uparrow}3 \\ & &3\uparrow \uparrow \uparrow \uparrow3 \end{matrix} \right \} \text{64 layers} }[/math]

where the number of arrows in each layer is specified by the value of the next layer below it; that is,

[math]\displaystyle{ G = g_{64}, }[/math] where [math]\displaystyle{ g_1=3\uparrow\uparrow\uparrow\uparrow 3, }[/math] [math]\displaystyle{ g_n = 3\uparrow^{g_{n-1}}3, }[/math]

and where a superscript on an up-arrow indicates how many arrows there are. In other words, G is calculated in 64 steps: the first step is to calculate g1 with four up-arrows between 3s; the second step is to calculate g2 with g1 up-arrows between 3s; the third step is to calculate g3 with g2 up-arrows between 3s; and so on, until finally calculating G = g64 with g63 up-arrows between 3s.

Equivalently, [math]\displaystyle{ G = f^{64}(4),\text{ where }f(n) = 3 \uparrow^n 3, }[/math]

and the superscript on f indicates an iteration of the function, e.g., [math]\displaystyle{ f^4(n) = f(f(f(f(n)))) }[/math]. Expressed in terms of the family of hyperoperations [math]\displaystyle{ \text{H}_0, \text{H}_1, \text{H}_2, \cdots }[/math], the function f is the particular sequence [math]\displaystyle{ f(n) = \text{H}_{n+2}(3,3) }[/math], which is a version of the rapidly growing Ackermann function A(n, n). (In fact, [math]\displaystyle{ f(n) \gt A(n, n) }[/math] for all n.) The function f can also be expressed in Conway chained arrow notation as [math]\displaystyle{ f(n) = 3 \rightarrow 3 \rightarrow n }[/math], and this notation also provides the following bounds on G:

[math]\displaystyle{ 3\rightarrow 3\rightarrow 64\rightarrow 2 \lt G \lt 3\rightarrow 3\rightarrow 65\rightarrow 2. }[/math]

Magnitude

To convey the difficulty of appreciating the enormous size of Graham's number, it may be helpful to express—in terms of exponentiation alone—just the first term (g1) of the rapidly growing 64-term sequence. First, in terms of tetration ([math]\displaystyle{ \uparrow\uparrow }[/math]) alone: [math]\displaystyle{ g_1 = 3 \uparrow \uparrow \uparrow \uparrow 3 = 3 \uparrow \uparrow \uparrow (3 \uparrow \uparrow \uparrow 3) = 3 \uparrow\uparrow (3 \uparrow\uparrow (3 \uparrow\uparrow \ \dots \ (3 \uparrow\uparrow 3) \dots )) }[/math]

where the number of 3s in the expression on the right is [math]\displaystyle{ 3 \uparrow \uparrow \uparrow 3 = 3 \uparrow \uparrow (3 \uparrow \uparrow 3). }[/math]

Now each tetration ([math]\displaystyle{ \uparrow\uparrow }[/math]) operation reduces to a power tower ([math]\displaystyle{ \uparrow }[/math]) according to the definition [math]\displaystyle{ 3 \uparrow\uparrow X = 3 \uparrow (3 \uparrow (3 \uparrow \dots (3 \uparrow 3) \dots)) = 3^{3^{\cdot^{\cdot^{\cdot^{3}}}}} }[/math] where there are X 3s.

Thus, [math]\displaystyle{ g_1 = 3 \uparrow\uparrow (3 \uparrow\uparrow (3 \uparrow\uparrow \ \dots \ (3 \uparrow\uparrow 3) \dots )) \quad \text{where the number of 3s is} \quad 3 \uparrow \uparrow (3 \uparrow \uparrow 3) }[/math]

becomes, solely in terms of repeated "exponentiation towers", [math]\displaystyle{ g_1 = \underbrace{ \left. \begin{matrix}3^{3^{\cdot^{\cdot^{\cdot^{\cdot^{3}}}}}}\end{matrix} \right \} \left. \begin{matrix}3^{3^{\cdot^{\cdot^{\cdot^{3}}}}}\end{matrix} \right \} \dots \left. \begin{matrix}3^{3^3}\end{matrix} \right \} 3}_{ \left. \begin{matrix}3^{3^{\cdot^{\cdot^{\cdot^{3}}}}}\end{matrix} \right \} \left. \begin{matrix}3^{3^3}\end{matrix} \right \} 3} }[/math]

and where the number of 3s in each tower, starting from the leftmost tower, is specified by the value of the next tower to the right.

In other words, g1 is computed by first calculating the number of towers, [math]\displaystyle{ n = 3\uparrow (3\uparrow (3\ \dots\ \uparrow 3)) }[/math] (where the number of 3s is [math]\displaystyle{ 3\uparrow (3\uparrow 3) = 7625597484987 }[/math]), and then computing the nth tower in the following sequence:

      1st tower:  3
     
      2nd tower:  3↑3↑3 (number of 3s is 3) = 7625597484987
     
      3rd tower:  3↑3↑3↑3↑...↑3 (number of 3s is 7625597484987) = …
     
      ⋮
     
 g1 = nth tower:  3↑3↑3↑3↑3↑3↑3↑...↑3 (number of 3s is given by the n − 1th tower)

where the number of 3s in each successive tower is given by the tower just before it. Note that the result of calculating the third tower is the value of n, the number of towers for g1.

The magnitude of this first term, g1, is so large that it is practically incomprehensible, even though the above display is relatively easy to comprehend. Even n, the mere number of towers in this formula for g1, is far greater than the number of Planck volumes (roughly 10185 of them) into which one can imagine subdividing the observable universe. And after this first term, still another 63 terms remain in the rapidly growing g sequence before Graham's number G = g64 is reached. To illustrate just how fast this sequence grows, while g1 is equal to [math]\displaystyle{ 3 \uparrow \uparrow \uparrow \uparrow 3 }[/math] with only four up arrows, the number of up arrows in g2 is this incomprehensibly large number g1.

Rightmost decimal digits

Graham's number, [math]\displaystyle{ G }[/math], is a "power tower" of the form [math]\displaystyle{ 3 \uparrow \uparrow n }[/math] (with an extremely large value of [math]\displaystyle{ n }[/math]), so its [math]\displaystyle{ n-1 }[/math] rightmost decimal digits are stable digits (for a proof, see Lemma 1 of Reference[9]), and thus they are the same of the rightmost [math]\displaystyle{ n-1 }[/math] digits of the [math]\displaystyle{ 10 }[/math]-adic fixed point of [math]\displaystyle{ x \mapsto 3^x }[/math]. This follows from a peculiar property of tetration which is called "the constancy of the congruence speed"[10] so that all such towers of height greater than [math]\displaystyle{ d : d \gt 1 }[/math] (say) are characterized by the same sequence of [math]\displaystyle{ d-2 }[/math] rightmost decimal digits (i.e., [math]\displaystyle{ 2 \uparrow \uparrow 5 }[/math] has exactly [math]\displaystyle{ 3 }[/math] stable digits since [math]\displaystyle{ 2 \uparrow \uparrow 5 \equiv 2 \uparrow \uparrow 6 \pmod {10^3} }[/math], but [math]\displaystyle{ 2 \uparrow \uparrow 5 }[/math] is not congruent modulo [math]\displaystyle{ 10^4 }[/math] to [math]\displaystyle{ 2 \uparrow \uparrow 6 }[/math]).

This is a special case of the above-mentioned general property.[11]

The following table illustrates, for a few values of [math]\displaystyle{ d }[/math], how this happens. For a given height of tower and number of digits [math]\displaystyle{ d }[/math], the full range of [math]\displaystyle{ d }[/math]-digit numbers ([math]\displaystyle{ 10^d }[/math] of them) does not occur; instead, a certain smaller subset of values repeats itself in a cycle. The length of the cycle and some of the values (in parentheses) are shown in each cell of this table:

Number of different possible values of 3↑3↑[math]\displaystyle{ \cdots }[/math]3↑x when all but the rightmost d decimal digits are ignored
Number of digits (d) 3↑x 3↑3↑x 3↑3↑3↑x 3↑3↑3↑3↑x 3↑3↑3↑3↑3↑x
1 4
(1,3,9,7)
2
(3,7)
1
(7)
2 20
(01,03,…,87,…,67)
4
(03,27,83,87)
2
(27,87)
1
(87)
3 100
(001,003,…,387,…,667)
20
(003,027,…387,…,587)
4
(027,987,227,387)
2
(987,387)
1
(387)

The particular rightmost [math]\displaystyle{ d }[/math] digits that are ultimately shared by all sufficiently tall towers of [math]\displaystyle{ 3 }[/math]s are in bold text, and can be seen developing as the tower height increases. For any fixed number of digits [math]\displaystyle{ d }[/math] (row in the table), the number of values possible for [math]\displaystyle{ 3 \uparrow 3 \uparrow \cdots \uparrow x \pmod{10}^d }[/math], as [math]\displaystyle{ x }[/math] ranges over all nonnegative integers, is seen to decrease steadily as the height increases, until eventually reducing the "possibility set" to a single number (colored cells) when the height exceeds [math]\displaystyle{ d+2 }[/math].

A simple algorithm[12] for computing these digits may be described as follows: let [math]\displaystyle{ x=3 }[/math], then iterate, [math]\displaystyle{ d }[/math] times, the assignment [math]\displaystyle{ x=3^x \pmod{10}^d }[/math]. Except for omitting any leading [math]\displaystyle{ 0 }[/math]s, the final value assigned to [math]\displaystyle{ x }[/math] (as a base-ten numeral) is then composed of the [math]\displaystyle{ d }[/math] rightmost decimal digits of [math]\displaystyle{ 3 \uparrow \uparrow n }[/math], for all [math]\displaystyle{ n\gt d }[/math]. (If the final value of [math]\displaystyle{ x }[/math] has fewer than [math]\displaystyle{ d }[/math] digits, then the required number of leading [math]\displaystyle{ 0 }[/math]s must be added.)

The numerousness of these stable digits is [math]\displaystyle{ b-1 }[/math] since [math]\displaystyle{ G:=3 \uparrow \uparrow b }[/math], which satisfy the congruence relation [math]\displaystyle{ G \pmod{10}^{b-1} \equiv G^G \pmod {10}^{b-1} }[/math] (whereas [math]\displaystyle{ G \pmod{10}^{b} }[/math] is not congruent modulo [math]\displaystyle{ 10^b }[/math] to [math]\displaystyle{ G^G }[/math]).[13] It follows that [math]\displaystyle{ g_{63} \lt \lt k \lt \lt g_{64} }[/math].

The algorithm above produces the following [math]\displaystyle{ 500 }[/math] rightmost decimal digits of Graham's number (OEISA133613):

...02425950695064738395657479136519351798334535362521
   43003540126026771622672160419810652263169355188780
   38814483140652526168785095552646051071172000997092
   91249544378887496062882911725063001303622934916080
   25459461494578871427832350829242102091825896753560
   43086993801689249889268099510169055919951195027887
   17830837018340236474548882222161573228010132974509
   27344594504343300901096928025352751833289884461508
   94042482650181938515625357963996189939679054966380
   03222348723967018485186439059104575627262464195387

[math]\displaystyle{ \left. \begin{matrix} g_n &=&3\underbrace{\uparrow \uparrow \cdots \cdots \cdots \cdots \cdots \uparrow}3 \\ & &3\underbrace{\uparrow \uparrow \cdots \cdots \cdots \cdots \uparrow}3 \\ & & \underbrace{\qquad \quad \vdots \qquad \quad} \\ & &3\underbrace{\uparrow \uparrow \cdots \cdots \uparrow}3 \\ & &3\uparrow \uparrow \uparrow \uparrow3 \end{matrix} \right \} n\ \mathrm{layers}=...02425950695064738395657479136519351798334535362521 43003540126026771622672160419810652263169355188780 38814483140652526168785095552646051071172000997092 91249544378887496062882911725063001303622934916080 25459461494578871427832350829242102091825896753560 43086993801689249889268099510169055919951195027887 17830837018340236474548882222161573228010132974509 27344594504343300901096928025352751833289884461508 94042482650181938515625357963996189939679054966380 03222348723967018485186439059104575627262464195387 }[/math]

References

  1. https://mathworld.wolfram.com/GrahamsNumber.html
  2. "Graham's number records". Iteror.org. http://iteror.org/big/Source/Graham-Gardner/GrahamsNumber.html. 
  3. Lavrov, Mikhail; Lee, Mitchell; Mackey, John (2014). "Improved upper and lower bounds on a geometric Ramsey problem". European Journal of Combinatorics 42: 135–144. doi:10.1016/j.ejc.2014.06.003. 
  4. Lipka, Eryk (2019). "Further improving of upper bound on a geometric Ramsey problem". arXiv:1905.05617 [math.CO].
  5. Exoo, Geoffrey (2003). "A Euclidean Ramsey Problem". Discrete & Computational Geometry 29 (2): 223–227. doi:10.1007/s00454-002-0780-5.  Exoo refers to the Graham & Rothschild upper bound N by the term "Graham's number". This is not the "Graham's number" G published by Martin Gardner.
  6. Barkley, Jerome (2008). "Improved lower bound on an Euclidean Ramsey problem". arXiv:0811.1055 [math.CO].
  7. Martin Gardner (1977). "In which joining sets of points leads into diverse (and diverting) paths". Scientific American (November). http://iteror.org/big/Source/Graham-Gardner/GrahamsNumber.html. 
  8. John Baez (2013). "A while back I told you about Graham's number...". https://plus.google.com/117663015413546257905/posts/KJTgfjkTZCQ. 
  9. "On the constant congruence speed of tetration". Notes on Number Theory and Discrete Mathematics 26 (3): 245–260. August 2020. doi:10.7546/nntdm.2020.26.3.245-260. https://nntdm.net/volume-26-2020/number-3/245-260/. 
  10. "The congruence speed formula". Notes on Number Theory and Discrete Mathematics 27 (4): 43–61. November 2021. doi:10.7546/nntdm.2021.27.4.43-61. https://nntdm.net/volume-27-2021/number-4/43-61/. 
  11. "Number of stable digits of any integer tetration". Notes on Number Theory and Discrete Mathematics 28 (3): 441–457. July 2022. doi:10.7546/nntdm.2022.28.3.441-457. https://nntdm.net/volume-28-2022/number-3/441-457/. 
  12. "The Math Forum @ Drexel ("Last Eight Digits of Z")". Mathforum.org. http://mathforum.org/library/drmath/view/51625.html. 
  13. Ripà, Marco (2011) (in it). La strana coda della serie n^n^...^n. UNI Service. ISBN 978-88-6178-789-6. 

Bibliography

External links