Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Writing the unwritable: up-arrow notation

    by
    Rachel Thomas
    3 December, 2014
    4 comments
    Knuth

    Donald Knuth.

    We recently published an article about one of our very favourite numbers: Graham's number. One of the reasons we love it is that this number is big. So big in fact that the observable Universe is not big enough to write the number out in full. But it isn't just big, it's also precisely defined. And in order to define such mind-bendingly huge numbers you need a new way to write them down.

    Graham's number can be exactly expressed thanks to an ingenious notation developed by the mathematician and computer scientist Donald Knuth. Knuth's up-arrow notation continues the compounding nature of the better-known arithmetic operations. Multiplication is simply repeated addition: $$ \begin{array}{ccc} a \times b & = & \underbrace{a+a+\dots+a} \\ && b\mbox{ copies of }a \end{Array} $$ So, for example, $2 \times 3 = 2+2+2 = 6$.


    Similarly exponentiation (raising a number to the power of another number) is just repeated multiplication: $$ \begin{array}{ccc} a^b & = & \underbrace{a \times a \times \ldots \times a} \\ && b\mbox{ copies of }a \end{Array} $$ So this time our example might be $2^3 = 2 \times 2 \times 2 = 8$.

    Knuth developed an ingenious system that allows this process to carry on, defining infinitely many more levels of arithmetic operations. The first step was another way of expressing the familiar exponentiation. Knuth used a single up-arrow, $\uparrow$, to represent this repeated multiplication: $$ \begin{array}{ccccc} a \uparrow b & = & \underbrace{a \times a \times \ldots \times a} & = & a^b. \\ && b\mbox{ copies of }a \end{array} $$ So our example becomes $2 \uparrow 3 = 2^3 = 8.$

    Multiplication is repeated addition, exponentiation, represented by a single up-arrow, is repeated multiplication...so the next operation is repeated exponentiation, sometimes called a power tower, and notated with a double up-arrow, $\uparrow \uparrow$: $$ \begin{array}{ccccc} a\uparrow \uparrow b & = & \underbrace{a\uparrow (a\uparrow (\ldots (a\uparrow a)))} & = & \underbrace{a^{a^{.^{.^{.^a}}}}}. \\ && b\mbox{ copies of }a && b\mbox{ copies of }a \end{array} $$

    So $a\uparrow \uparrow b$ produces a power tower of $a$'s that is $b$ levels high. For example $2\uparrow \uparrow 3$ produces a power tower of 2s that is 3 levels high: $$ 2\uparrow \uparrow 3 = 2\uparrow(2\uparrow 2) = 2^{2^2}=2^4 = 16. $$ And this process can be continued indefinitely, allowing us to create more and more arithmetic operations: $$ \begin{array}{ccc} a\uparrow \uparrow \uparrow b & = & \underbrace{a\uparrow \uparrow (a\uparrow \uparrow (\dots \uparrow \uparrow a))} \\ && b\mbox{ copies of }a \end{Array} $$ So our example might be: $$ 2\uparrow \uparrow \uparrow 3 = 2\uparrow \uparrow (2\uparrow \uparrow 2) = 2 \uparrow \uparrow (2\uparrow 2) = 2\uparrow \uparrow 4 $$ which is a power tower of 2s that is 4 levels high. We saw above that a power tower of 2s that is 3 levels high is equal to 16. A power tower of 2s that is 4 levels high is $$ 2\uparrow \uparrow 4 = 2\uparrow (2\uparrow (2\uparrow 2)) = 2^{2^{2^2}}=2^{2^4}=2^{16} = 65,536. $$ You can see how quickly the double up-arrow operation, $\uparrow \uparrow$, grows: $2\uparrow \uparrow 2=4$, $2\uparrow \uparrow 3=16$, $2\uparrow \uparrow 4 = 65,536$, and $2\uparrow \uparrow 5$ is $2^{65,536}$, at which point your calculator will give up the ghost.

    The triple up-arrow operation grows even faster. We saw that $2\uparrow \uparrow \uparrow 3=65,536$. But just taking the value of $b$ to be 4 rather than 3 gives $$ 2\uparrow \uparrow \uparrow 4 = 2\uparrow \uparrow (2\uparrow \uparrow (2\uparrow \uparrow 2)) = 2 \uparrow \uparrow (2\uparrow \uparrow 4) = 2\uparrow \uparrow 65,536. $$ This is a power tower of 2s that is 65,536 levels high. We'll leave you to calculate its exact value as an exercise for some insomnia-blighted night.

    Knuth

    The sky's the limit with up-arrow notation.

    This has already got out of hand from the point of view of numbers that we can actually comprehend. But just as mathematicians are quite happy thinking in arbitrarily high dimensions if the rules are clearly defined, they are quite happy to continue Knuth's nice, well-defined process of iterating the arithmetic operations. And so we can precisely define numbers, such as Graham's number, that are so enormous that there is not enough room in the observable Universe to write them. Mathematics gives us the power to define the unimagineable.



    About the author

    Rachel Thomas is Editor of Plus.

    • Log in or register to post comments

    Comments

    Anonymous

    27 June 2015

    Permalink

    Hey,

    I was thinking of the similarity of this concept with the Indus and Harappan scripts.
    If you look at their seals of which thousands have been found you'll see this up arrow being a vertical fish shape. So it's a multiplier.There are seals with 2 vertical fish between two other shapes which could be numbers. This is the same as the power tower concept! Has to be.

    On some seals there is a vertical fish with an inverted v above it. This could be just be a replacement of the 2 up arrows.

    So a horizontal line of the Harappan scripts on seals is just that. So many units of a product. Followed by its total price. Like an invoice.

    The odd shaped further would be its destination. And person to hand over.

    The other seals could be the money received as payment. This would-be indicated by the animal type beneath it.

    • Log in or register to post comments

    Mike Salim

    15 May 2017

    In reply to Used in ancient scripts by Anonymous

    Permalink

    I am curious if you have a link to the Indus / Harrapan scripts that you mentioned. Would you mind posting it?

    • Log in or register to post comments

    Anonymous

    21 January 2016

    Permalink

    Hi Rachel.

    The last two times you refer to the value of 2^16 above, you show it as 65,356 (which is clearly just a typo that slipped through). The correct value is of course 65,536, which you provided earlier.

    Excellent article! Had never heard of Knuth's up-arrow notation until I came upon it during a video titled "What is the largest number?" (www.youtube.com/watch?v=e0xJwdcpATM)

    • Log in or register to post comments

    Rachel

    25 January 2016

    In reply to Correction to evaluation of 2^16 by Anonymous

    Permalink

    Now corrected!

    • Log in or register to post comments

    Read more about...

    arithmetic

    Our Podcast: Maths on the Move

    Our Maths on the Move podcast brings you the latest news from the world of maths, plus interviews and discussions with leading mathematicians and scientists about the maths that is changing our lives.

    Apple Podcasts
    Spotify
    Podbean

    Plus delivered to you

    Keep up to date with Plus by subscribing to our newsletter or following Plus on X or Bluesky.

    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms