big numbers

Numbers go on for ever, but our notation does not. If you want to write down the value of a very big number (way bigger even than a googolplex ), the mathematical notations for factorial or exponentiation, the fastest growing 'conventional' functions, eventually becomes unweildy; you get too many factorials or exponents to manipulate easily. Something more extensible is needed.

The so-called "large primes" -- useful for cryptography -- are relatively small compared to the kind of numbers that soon arise in these notations.


Knuth's up-arrow notation

In 1976 Donald Knuth published his up-arrow notation for large numbers. The arrows 'associate to the right' (following exponentiation). So $a \uparrow b \uparrow c \uparrow d$ means $a \uparrow (b \uparrow (c \uparrow d))$, etc. This association gives the largest value.

  1. $m \, n = m + m + \ldots +m$ [$n$ terms] = $m \times n$
  2. $m \uparrow n = m \times m \times \ldots \times m$ [$n$ terms] = $m^n$
    • $m \uparrow 1 = m$
    • $m \uparrow n = m \times (m \times \ldots \times m$ [$n-1$ terms]) = $m \times m\uparrow(n-1)$
      • $2 \uparrow 2 = 2×2 = 4; 2 \uparrow 3 = 2×2 \uparrow 2 = 8; 2 \uparrow 4 = 2×2 \uparrow 3 = 16; \ldots$
      • $3 \uparrow 2 = 3×3 = 9; 3 \uparrow 3 = 3×3 \uparrow 2 = 27; 3 \uparrow 4 = 3×3 \uparrow 3 = 81; \ldots$
      • $4 \uparrow 2 = 4×4 = 16; 4 \uparrow 3 = 4×4 \uparrow 2 = 64; 4 \uparrow 4 = 4×4 \uparrow 3 = 256; \ldots$
  3. $m \uparrow\uparrow n = m \uparrow m \uparrow \ldots \uparrow m$ [$n$ terms] = $m^{m^{\ldots m}}$
    • $m \uparrow\uparrow 1 = m$
    • $m \uparrow\uparrow n = m \uparrow (m \uparrow \ldots \uparrow m$ [$n-1$ terms]) = $m \uparrow m\uparrow\uparrow(n-1)$
      • $2 \uparrow \uparrow 2 = 2 \uparrow 2 = 4$
      • $2 \uparrow \uparrow 3 = 2 \uparrow 2 \uparrow \uparrow 2 = 2 \uparrow 4 = 16$
      • $2 \uparrow \uparrow 4 = 2 \uparrow 2 \uparrow \uparrow 3 = 2 \uparrow 16 = 65\,536$
      • $3 \uparrow \uparrow 2 = 3 \uparrow 3 = 27$
      • $3 \uparrow \uparrow 3 = 3 \uparrow 3 \uparrow \uparrow 2 = 3 \uparrow 27 = 7\,625\,597\,484\,987$
      • $3 \uparrow \uparrow 4 = 3 \uparrow 3 \uparrow \uparrow 3 = 3 \uparrow 7\,625\,597\,484\,987$
      • $4 \uparrow \uparrow 2 = 4 \uparrow 4 = 256$
      • $4 \uparrow \uparrow 3 = 4 \uparrow 4 \uparrow \uparrow 2 = 4 \uparrow 256$
      • $4 \uparrow \uparrow 4 = 4 \uparrow 4 \uparrow \uparrow 3 = 4 \uparrow 4 \uparrow 256$
  4. $m \uparrow\uparrow\uparrow n = m \uparrow\uparrow m \uparrow\uparrow \ldots \uparrow\uparrow m$ [$n$ terms]
    • $m \uparrow\uparrow\uparrow 1 = m$
    • $m \uparrow\uparrow\uparrow n = m \uparrow\uparrow (m \uparrow\uparrow \ldots \uparrow\uparrow m$ [$n-1$ terms]) = $m \uparrow\uparrow m\uparrow\uparrow\uparrow(n-1)$
      • $2\uparrow \uparrow \uparrow 2 = 2\uparrow \uparrow 2 = 4$
      • $2\uparrow \uparrow \uparrow 3 = 2\uparrow \uparrow 2\uparrow \uparrow \uparrow 2 = 2\uparrow \uparrow 4 = 65\,536$
      • $2\uparrow \uparrow \uparrow 4 = 2\uparrow \uparrow 2\uparrow \uparrow \uparrow 3 = 2\uparrow \uparrow 65\,536 = 2\uparrow 2\uparrow ...\uparrow 2$ $[65\,536$ terms]
      • $3\uparrow \uparrow \uparrow 2 = 3\uparrow \uparrow 3 = 7\,625\,597\,484\,987$
      • $3\uparrow \uparrow \uparrow 3 = 3\uparrow \uparrow 3\uparrow \uparrow \uparrow 2 = 3\uparrow \uparrow 7\,625\,597\,484\,987$
        $= 3\uparrow 3\uparrow ...\uparrow 3$ $[7\,625\,597\,484\,987$ terms]
      • $3\uparrow \uparrow \uparrow 4 = 3\uparrow \uparrow 3\uparrow \uparrow \uparrow 3 = 3\uparrow \uparrow 3\uparrow ...\uparrow 3$ $[7\,625\,597\,484\,987$ terms]
        $= 3\uparrow ...\uparrow 3$ $[3\uparrow ...\uparrow 3$ $[7\,625\,597\,484\,987$ terms] terms]
      • $4\uparrow \uparrow \uparrow 2 = 4\uparrow \uparrow 4 = 4\uparrow 4\uparrow 256$
      • $4\uparrow \uparrow \uparrow 3 = 4\uparrow \uparrow 4\uparrow \uparrow \uparrow 2 = 4\uparrow \uparrow 4\uparrow 4\uparrow 256$
        $= 4\uparrow ...\uparrow 4$ $[4\uparrow 4\uparrow 256$ terms]
      • $4\uparrow \uparrow \uparrow 4 = 4\uparrow \uparrow 4\uparrow \uparrow \uparrow 3 = 4\uparrow \uparrow 4\uparrow ...\uparrow 4$ $[4\uparrow 4\uparrow 256$ terms]
  5. etc...

Eventually, as for cases like Graham's number, you get too many up-arrows to manipulate easily. Something more extensible is needed.


Conway's chained arrow notation

John H. Conway has gone 'one' step further:

  1. $a \rightarrow b \rightarrow c = a \uparrow\uparrow\ldots\uparrow\uparrow b$, with $c$ uparrows
  2. The chain can be reduced in length when the last item is a $1$:
    $a \rightarrow b \rightarrow \ldots x \rightarrow 1 = a \rightarrow b \rightarrow \ldots x$
  3. The last item in the chain can be reduced in size by 1
    $a \ldots x \rightarrow y \rightarrow (z+1)$ depends on $y$ as follows:
    1. $a \ldots x \rightarrow 1 \rightarrow (z+1) = a \ldots x$
    2. $a \ldots x \rightarrow 2 \rightarrow (z+1) = a \ldots x \rightarrow (a \ldots x) \rightarrow z$
    3. $a \ldots x \rightarrow 3 \rightarrow (z+1) = a \ldots x \rightarrow (a \ldots x \rightarrow (a \ldots x) \rightarrow z) \rightarrow z$
    4. etc... (where the brackets can be removed once the number inside has been evaluated)

Eventually, you will get too many right arrows to manipulate easily. Then something more extensible will be needed.


Steinhaus's polygon notation

It is easy to write down very large numbers. Such giants can be defined very simply if we agree to write [a in triangle] instead of $a^a$, [a in square] instead of '$a$ in $a$ triangles', and [a in circle] instead of '$a$ in $a$ squares'. Then the number 'Mega' = [2 in circle] is already too great to have any physical meaning,

[Mega]

the last symbol being $256$ in $256$ triangles, and the reason why we have abandoned the ordinary system of writing numbers is clear. (The reader may try to explain the 'Megiston' given by [10 in circle]).

-- H. Steinhaus. Mathematical Snapshots, Ch.1, 3rd edn. 1983
[note that there is an error in the diagram as printed: it should read ... [2 in circle] = [2 in 2 squares] = ...]


Moser's polygon notation

Leo Moser extended Steinhaus' notation. Rather than going to a circle for the third level, Moser continues the sequence of polygons with a pentagon, a hexagon, and so on. So we have

In order to express general relationships, it is useful to have a rather different notation, than captures the number of sides of the polygons, and the number of repetitions of the polygons, symbolically. So, instead of drawing the polygon, I write the number of sides in square brackets: [a in triangle] = $a[3]$; [a in triangle in square] = $a[3][4]$; etc. And instead of drawing repeated similar polygons, I subscript the 'polygon number' with the repetition number: [a in 2 triangles] = $a[3][3]$ = $a[3]_2$; [a in 2 triangles in 3 squares] = $a[3][3][4][4][4]$ = $a[3]_2[4]_3$, etc. This means we can define the notation in general:

The polygons associate to the left, and bind more strongly that conventional mathematical operators. So (using uparrow notation for exponentiation, to avoid towers of exponents) $n[2] \uparrow n[3]$ means $(n[2]) \uparrow (n[3])$. Expanding deeply nested terms from the inside out (expand the definition of the innermost polygon first), or from the outside in (expand the definition of the outermost polygon first) gives the same result.

  1. [a in triangle] = $a[3] = a \uparrow a$
    • $n[3] = n \uparrow n$
    • $n[3]_2 = n[3][3] = n[3] \uparrow n[3] = (n \uparrow n) \uparrow(n \uparrow n)$
    • $n[3]_3 = n[3]_2[3] = n[3]_2 \uparrow n[3]_2 = ((n \uparrow n) \uparrow(n \uparrow n))\uparrow ((n \uparrow n) \uparrow(n \uparrow n))$
    • $n[3]_4 = n[3]_3[3] = n[3]_3 \uparrow n[3]_3$
      $= (((n \uparrow n) \uparrow(n \uparrow n))\uparrow ((n \uparrow n) \uparrow(n \uparrow n))) \uparrow (((n \uparrow n) \uparrow(n \uparrow n))\uparrow ((n \uparrow n) \uparrow(n \uparrow n)))$
    • $n[3]_{k+1} = n[3]_k[3] = n[3]_k \uparrow n[3]_k$
    • $2[3] = 2\uparrow 2 = 4$
    • $2[3]_2 = 2[3]\uparrow 2[3] = 4\uparrow 4 = 256$
    • $2[3]_3 = 2[3]_2\uparrow 2[3]_2 = 256\uparrow 256 \approx 10^{616.509}$
    • $2[3]_4 = 2[3]_3\uparrow 2[3]_3 \approx 10^{616.509}\uparrow 10^{616.509} \approx 10 \uparrow 10 \uparrow{619.3}$
    • $2[3]_5 = 2[3]_4\uparrow 2[3]_4 \approx (10 \uparrow 10 \uparrow{619.3})\uparrow (10 \uparrow 10 \uparrow{619.3})$
    • etc..
    • $3[3] = 3\uparrow 3 = 27$
    • $3[3]_2 = 3[3]\uparrow 3[3] = 27\uparrow 27 = 443\,426\,488\,243\,037\,769\,948\,249\,630\,619\,149\,892\,803 \approx 10^{38.646}$
    • $3[3]_3 = 3[3]_2\uparrow 3[3]_2 \approx 10^{38.646} \uparrow 10^{38.646} \approx 10 \uparrow 10 \uparrow 40.23$
    • etc...
    • $4[3] = 4\uparrow 4 = 2[3]\uparrow 2[3] = 2[3][3] = 2[3]_2$
    • $4[3]_2 = 4[3][3] = 2[3]_2[3] = 2[3]_3$
    • $4[3]_3 = 4[3]_2[3] = 2[3]_3[3] = 2[3]_4$
    • $4[3]_k = 2[3]_{k+1}$
  2. [a in square] = $a[4] = a[3]_a$
    • $2[4] = 2[3]_2 =256$
    • $2[4]_2 = 2[4][4] = 256[4] = 256[3]_{256}$
    • $2[4]_3 = 2[4]_2[4] = 256[3]_{256}[4] = 256[3]_{256}[3]_{256[3]_{256}}$
    • etc...
    • $3[4] = 3[3]_3 = 3[3]_2\uparrow 3[3]_2 = (27\uparrow 27)\uparrow(27\uparrow 27)$
    • $3[4]_2 = 3[3]_3[4] = (3[3]_2\uparrow 3[3]_2)[4] = (3[3]_2\uparrow 3[3]_2)[3]_{3[3]_2\uparrow 3[3]_2} = ((27\uparrow 27)\uparrow (27\uparrow 27))[3]_{{(27\uparrow 27)\uparrow (27\uparrow 27})} $
    • etc...
    • $4[4] = 4[3]_4 =2[3]_5$
    • etc...
  3. [a in pentagon] = $a[5] = a[4]_a$
    • $2[5]$ = Steinhaus' Mega = $2[4]_2 = 2[3]_2[4] = 256[4] = 256[3]_{256}$
    • A polygon with $2[5]$ sides is a Megagon. It looks pretty circular if drawn!
    • $2[5]_2 = 2[5][5] = 2[4]_2[5] = 256[3]_{256}[5]$
    • $3[5] = 3[4]_3 = (3[3]_2\uparrow 3[3]_2)[3]_{3[3]_2\uparrow 3[3]_2}[4] = ((27\uparrow 27)\uparrow (27\uparrow 27))[3]_{{(27\uparrow 27)\uparrow (27\uparrow 27})}[4] $
    • $10[5]$ = Steinhaus' Megiston = $10[4]_{10}$
    • etc...
  4. $a[6] = a[5]_a$
    1. $2[6] = 2[5]_2 = 256[3]_{256}[5]$
    2. $3[6] = 3[5]_3 = 3[5][5]_2 = ((27\uparrow 27)\uparrow (27\uparrow 27))[3]_{{(27\uparrow 27)\uparrow (27\uparrow 27})}[4][5]_2$

Moser's number $\mathbf{M}$ = '$2$ in a Megagon' = $2[2[5]] = 2[256[3]_{256}]$


Which of Moser's number and Graham's number is the larger? The Moser construction yields big numbers much faster than does the up-arrow notation, but there are a lot of up-arrows in the Graham number.