# 9^9^9.

**URL:** <https://boards.straightdope.com/t/9-9-9/800163>\
**Category:** In My Humble Opinion\
**Created:** [October 29, 2017, 5:42pm UTC](https://boards.straightdope.com/t/9-9-9/800163 "2017-10-29T17:42:09Z")\
**Posts on this page:** 10\
**Page:** 3

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [November 1, 2017, 12:34am UTC](https://boards.straightdope.com/t/9-9-9/800163/41 "2017-11-01T00:34:34Z")

</div>

(9^9)^9 = 9^(9^2).

But that’s not the standard order of operations for exponents (partly because that order of operations is so easy to re-write in a different way).

---

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://boards.straightdope.com/u/Andy_L)\
**Post date:** [November 1, 2017, 12:37am UTC](https://boards.straightdope.com/t/9-9-9/800163/42 "2017-11-01T00:37:22Z")

</div>

> [@Chronos](#):
>
> (9^9)^9 = 9^(9^2).
> 
> But that’s not the standard order of operations for exponents (partly because that order of operations is so easy to re-write in a different way).

Oh. I see. My apologies, **msmith537** , and thanks **Chronos**.

---

<div class="post-metadata">

**Author:** ![Prof.Pepperwinkle](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/prof.pepperwinkle/32/13627_2.png) [@Prof.Pepperwinkle](https://boards.straightdope.com/u/Prof.Pepperwinkle)\
**Post date:** [November 1, 2017, 12:42am UTC](https://boards.straightdope.com/t/9-9-9/800163/43 "2017-11-01T00:42:28Z")

</div>

Would the book have been _Mathematics and the Imagination_ by Edward Kasner and James R. Newman (published in 1940)? That’s the one that introduce the terms “googol” and “googolplex”. I’m not sure it counts as a children’s book but I read it when I was about 10 years old.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [November 1, 2017, 12:49am UTC](https://boards.straightdope.com/t/9-9-9/800163/44 "2017-11-01T00:49:57Z")

</div>

> [@BigT](#):
>
> It is my understanding that the order of operations deals with that ambiguity. Within the same level, you go from left to right. So it inherently means (9^9)^9

@ **BigT** : No. To clarify: First of all, the rules about orders of operation aren’t “inherent” at all. They are arbitrary man-made rules intended to resolve the ambiguities of not having such rules. Alternatively, we could just as well have made a rule that all expressions _must_ be fully parenthesized, so that, e.g.,  
3 + 4 × 5  
(with no parentheses) would be considered an invalid expression.

Second, given that the familiar rules specify left-to-right for like orders of operations, doesn’t mean it _had_ to be defined that way.

And finally: In fact, for a sequence of exponentiations like m^n^p ( or equivalently, m[sup]n[sup]p[/sup][/sup] ), mathematicians decided to do it the other way: These associate to the right, so the computation would be m^(n^p) and NOT (m^n)^p — it’s an arbitrary rule, but that’s the agreed-upon rule.

Why? It turns out to be more useful that way. If m^n^p had been defined left-to-right like addition and multiplication, it would mean (m^n)^p. But this is just algebraically the same as m^(np) so there would be no need to ever write (m^n)^p. Thus, to make the expression m^n^p not only meaningful but useful and different from simply m^(np) they decided to make it mean m^(n^p).

---

<div class="post-metadata">

**Author:** ![msmith537](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@msmith537](https://boards.straightdope.com/u/msmith537)\
**Post date:** [November 1, 2017, 1:46am UTC](https://boards.straightdope.com/t/9-9-9/800163/45 "2017-11-01T01:46:05Z")

</div>

> [@Andy\_L](#):
>
> 9^9^9 is either (9^9)^9 (or 387420489^9) or the vastly larger 9^(387420489) (which has 369,693,100 digits or so [http://mathforum.org/library/drmath/view/59172.html](http://mathforum.org/library/drmath/view/59172.html) ); 9^81 doesn’t enter into it (that would be 9^(9^2) )

No, you’re right. I entered the wrong operator.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [November 1, 2017, 1:17pm UTC](https://boards.straightdope.com/t/9-9-9/800163/46 "2017-11-01T13:17:33Z")

</div>

In computer programming languages, exponentiation is almost always right associative unlike most common binary operations which are left associative. The rational is as given above.

Once in a while the idjit defines things elsewise and people wonder about the person.

---

<div class="post-metadata">

**Author:** ![septimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/septimus/32/410_2.png) [@septimus](https://boards.straightdope.com/u/septimus)\
**Post date:** [November 1, 2017, 2:54pm UTC](https://boards.straightdope.com/t/9-9-9/800163/47 "2017-11-01T14:54:12Z")

</div>

> [@Riemann](#):
>
> (Although the expression is ambiguous, as has been noted.)

Nitpick: 9[sup]9[sup]9[/sup][/sup] is always treated as 9sup[/sup] for the simple reason that (9[sup]9[/sup])[sup]9[/sup] can be written more readily as 9[sup]9·9[/sup]

> [@Pantastic](#):
>
> Or TREE(TREE(TREE(9))) if you want to stop messing around, since the lower case tree function isn’t quite as insanely fast growing. For people who aren’t familiar, the TREE function is a function that grows absurdly fast; TREE(1) is 1, TREE(2) is 3, and TREE(3) is so vastly incredibly huge that you need special notation to even vaguely talk about how big it is.

With TREE(3) so vastly incredible huge, TREE(TREE(TREE(9))) seems rather self-indulgent, no? 🙂

Graham’s “number”, BTW, is also a function. G(1) = 3 ↑↑↑↑ 3, G(2) Is similar but with G(1) arrows instead of just 4. The specific Graham number G(64) is defined as  
G(64) = 3 ↑↑↑↑↑↑↑…↑↑↑↑↑↑ 3  
where the number of ↑’s is G(63). Of course, there’s a G(65), or even G(G(64)) which are even larger!

---

<div class="post-metadata">

**Author:** ![Pantastic](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@Pantastic](https://boards.straightdope.com/u/Pantastic)\
**Post date:** [November 1, 2017, 4:06pm UTC](https://boards.straightdope.com/t/9-9-9/800163/48 "2017-11-01T16:06:20Z")

</div>

> [@septimus](#):
>
> Graham’s “number”, BTW, is also a function. G(1) = 3 ↑↑↑↑ 3, G(2) Is similar but with G(1) arrows instead of just 4.

I disagree - Graham’s number is not the function, it’s the specific result of plugging 64 into the G(n) function, and is a single number. If you’re going to say that Graham’s number is really not a number but is actually a function, you’ve got to say the same thing about 9^9^9 since exponentation and iterated exponentation are functions.

> [@](#):
>
> The specific Graham number G(64) is defined as  
> G(64) = 3 ↑↑↑↑↑↑↑…↑↑↑↑↑↑ 3  
> where the number of ↑’s is G(63). Of course, there’s a G(65), or even G(G(64)) which are even larger!

The most amusing thing to me about Graham’s number is that Graham came up with it as an upper bound for a question that mathematicians think the actual answer to is probably less than two dozen. So what he’s saying is ‘this answer has to be less than a number that’s so huge you couldn’t conceivably write it out in the observable universe’ when the answer itself is probably something completely bland like 17. It was actually a sensible thing to prove, since showing that there is an upper bound on a problem, even a huge one, answers certain other questions, but it’s just so hilariously large compared to what the answer probably is.

---

<div class="post-metadata">

**Author:** ![Colophon](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@Colophon](https://boards.straightdope.com/u/Colophon)\
**Post date:** [November 2, 2017, 2:50pm UTC](https://boards.straightdope.com/t/9-9-9/800163/49 "2017-11-02T14:50:20Z")

</div>

> [@Johanna](#):
>
> T.I.L.:  
> You can stack superscripts in this site’s code!

And if you dial 9[sup]9[sup]9[/sup][/sup] you get a _lot_ of policemen.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [November 2, 2017, 4:24pm UTC](https://boards.straightdope.com/t/9-9-9/800163/50 "2017-11-02T16:24:53Z")

</div>

> [@Colophon](#):
>
> And if you dial 9[sup]9[sup]9[/sup][/sup] you get a _lot_ of policemen.

In the UK, not the USofA.

[Previous page](https://boards.straightdope.com/t/9-9-9/800163.md?page=2)
