# Steinhaus–Moser notation

In mathematics, SteinhausMoser notation is a notation for expressing certain extremely large numbers. It is an extension of Steinhaus's polygon notation,[1] devised by Leo Moser.

## Definitions

a number n in a triangle means nn.
a number n in a square is equivalent to "the number n inside n triangles, which are all nested."
a number n in a pentagon is equivalent with "the number n inside n squares, which are all nested."

etc.: n written in an (m + 1)-sided polygon is equivalent with "the number n inside n nested m-sided polygons". In a series of nested polygons, they are associated inward. The number n inside two triangles is equivalent to nn inside one triangle, which is equivalent to nn raised to the power of nn.

Steinhaus defined only the triangle, the square, and the circle  , which is equivalent to the pentagon defined above.

## Special values

Steinhaus defined:

• mega is the number equivalent to 2 in a circle:
• megiston is the number equivalent to 10 in a circle: ⑩

Moser's number is the number represented by "2 in a megagon". Megagon is here the name of a polygon with "mega" sides (not to be confused with the polygon with one million sides).

Alternative notations:

• use the functions square(x) and triangle(x)
• let M(n, m, p) be the number represented by the number n in m nested p-sided polygons; then the rules are:
• ${\displaystyle M(n,1,3)=n^{n}}$
• ${\displaystyle M(n,1,p+1)=M(n,n,p)}$
• ${\displaystyle M(n,m+1,p)=M(M(n,1,p),m,p)}$
• and
• mega = ${\displaystyle M(2,1,5)}$
• megiston = ${\displaystyle M(10,1,5)}$
• moser = ${\displaystyle M(2,1,M(2,1,5))}$

## Mega

A mega, ②, is already a very large number, since ② = square(square(2)) = square(triangle(triangle(2))) = square(triangle(22)) = square(triangle(4)) = square(44) = square(256) = triangle(triangle(triangle(...triangle(256)...))) [256 triangles] = triangle(triangle(triangle(...triangle(256256)...))) [255 triangles] ~ triangle(triangle(triangle(...triangle(3.2 × 10616)...))) [254 triangles] = ...

Using the other notation:

mega = M(2,1,5) = M(256,256,3)

With the function ${\displaystyle f(x)=x^{x}}$  we have mega = ${\displaystyle f^{256}(256)=f^{258}(2)}$  where the superscript denotes a functional power, not a numerical power.

We have (note the convention that powers are evaluated from right to left):

• M(256,2,3) = ${\displaystyle (256^{\,\!256})^{256^{256}}=256^{256^{257}}}$
• M(256,3,3) = ${\displaystyle (256^{\,\!256^{257}})^{256^{256^{257}}}=256^{256^{257}\times 256^{256^{257}}}=256^{256^{257+256^{257}}}}$ ${\displaystyle 256^{\,\!256^{256^{257}}}}$

Similarly:

• M(256,4,3) ≈ ${\displaystyle {\,\!256^{256^{256^{256^{257}}}}}}$
• M(256,5,3) ≈ ${\displaystyle {\,\!256^{256^{256^{256^{256^{257}}}}}}}$

etc.

Thus:

• mega = ${\displaystyle M(256,256,3)\approx (256\uparrow )^{256}257}$ , where ${\displaystyle (256\uparrow )^{256}}$  denotes a functional power of the function ${\displaystyle f(n)=256^{n}}$ .

Rounding more crudely (replacing the 257 at the end by 256), we get mega ≈ ${\displaystyle 256\uparrow \uparrow 257}$ , using Knuth's up-arrow notation.

After the first few steps the value of ${\displaystyle n^{n}}$  is each time approximately equal to ${\displaystyle 256^{n}}$ . In fact, it is even approximately equal to ${\displaystyle 10^{n}}$  (see also approximate arithmetic for very large numbers). Using base 10 powers we get:

• ${\displaystyle M(256,1,3)\approx 3.23\times 10^{616}}$
• ${\displaystyle M(256,2,3)\approx 10^{\,\!1.99\times 10^{619}}}$  (${\displaystyle \log _{10}616}$  is added to the 616)
• ${\displaystyle M(256,3,3)\approx 10^{\,\!10^{1.99\times 10^{619}}}}$  (${\displaystyle 619}$  is added to the ${\displaystyle 1.99\times 10^{619}}$ , which is negligible; therefore just a 10 is added at the bottom)
• ${\displaystyle M(256,4,3)\approx 10^{\,\!10^{10^{1.99\times 10^{619}}}}}$

...

• mega = ${\displaystyle M(256,256,3)\approx (10\uparrow )^{255}1.99\times 10^{619}}$ , where ${\displaystyle (10\uparrow )^{255}}$  denotes a functional power of the function ${\displaystyle f(n)=10^{n}}$ . Hence ${\displaystyle 10\uparrow \uparrow 257<{\text{mega}}<10\uparrow \uparrow 258}$

## Moser's number

It has been proven that in Conway chained arrow notation,

${\displaystyle \mathrm {moser} <3\rightarrow 3\rightarrow 4\rightarrow 2,}$

and, in Knuth's up-arrow notation,

${\displaystyle \mathrm {moser}

Therefore, Moser's number, although incomprehensibly large, is vanishingly small compared to Graham's number:[2]

${\displaystyle \mathrm {moser} \ll 3\rightarrow 3\rightarrow 64\rightarrow 2