Steinhaus-Moser Notation

Steinhaus-Moser Notation is a notation used for large numbers. The formula is:


 * Triangle(n) =nn
 * Square(n) = \(\boxed{n}\)n inside n triangles
 * Circle(n) = n inside n squares

Triangle(n) would be graphically displayed by n inside a triangle, and the same for Square and Circle.

Leo Moser extends this notation with pentagons, hexagons, heptagons, octagons, etc., where n inside a x-gon is equal to x inside n (x - 1)-gons. Of course, circles are no longer used in this version, and are replaced by pentagons.

Matt Hudelson defines a similar version like so:


 * n| = Line(n) =
 * n&lt; = Wedge(n) = n followed by n lines
 * Triangle(n) = n followed by n wedges
 * Square(n) = n inside n triangles
 * etc.

Steinhaus-Moser notation is technically a fast iteration hierarchy with \(f_0(n) = n^n\). \(f_{m - 3}(n)\) is n inside an m-gon.

Pseudocode
function polygon(n, level): if level == 3: return r := n repeat n times: r := polygon(r, level - 1'') return r