# A very strange integral sequence

**URL:** <https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [September 28, 2024, 11:23pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224 "2024-09-28T23:23:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 28, 2024, 11:23pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/1 "2024-09-28T23:23:31Z")

</div>

TL;DR unless you are a math freak. I will describe a numerical sequence and ask you to guess its ultimate outcome. Does it increase continually, or settle down to a fixed number of just stop?

In this case we start with the number 21, but you could start with any number including a googolplex. We write using only numbers 2 or 1 as  
T\_2 = 2^{2^2} +2^2 + 1  
which I will call the 2-tableau.  
We construct the 3-tableau by replacing every instance of 2 in the 2-tableau by a 3 and then subtracting 1:  
T\_3=3^{3^3}+3^3  
which actually adds up to 7,625,597,485,014. In a similar way, construct the 4 tableau by replacing every instance of 3 in the 3-tableau by 4 and then subtracting 1. However in the process, we are allowed only addition, so we have to replace 4^4-1 by 3\times4^3+3+3\times 4^2+3\times4+3 using the formula \frac{4^4-1}{4-1}=4^3+4^2+4+1. This and analogous steps are crucial in understanding the ultimate outcome. Then  
T\_4=4^{4^4}+3\times 4^3+3\times4^2+3\times 4+3  
I won’t even try to evaluate this numerically. Continue this process to get  
T\_5=5^{5^5}+3\times 5^3+3\times 5^2+3\times 5 +2  
Only the 4’s change to 5 and always subtract 1. Since 5^5=3125, and 5^{3125} is already incomprehensibly large, so is T\_5. Continue with T\_5,T\_6,...,T\_{googolplex},....  
What do you think will happen in the long run?

It eventually gets to 0 and stops. Those -1 terms eventually overwhelm everything. But the only proof I am aware of uses transfinite induction based on \epsilon\_0 by noting that if in T\_n, you replace each instance of n by \omega, call it T\_{n,\omega} then T\_{n+1,\omega}\<T\_{n,\omega} (strictly less than) and there can be no infinite strictly descending sequence of ordinals. Therefore the sequence must stop.

---

<div class="post-metadata">

**Author:** ![Eric1](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@Eric1](https://boards.straightdope.com/u/Eric1)\
**Post date:** [September 29, 2024, 1:59am UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/2 "2024-09-29T01:59:51Z")

</div>

Hari I was working with my neighbor on this. Personally my math doesn’t reach past calculus so wondered if it stems from linear algebra perhaps.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 29, 2024, 2:34am UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/3 "2024-09-29T02:34:13Z")

</div>

No, it is basically from the logic of well-ordered sets. Quite astonishing, really. I once tried to work out the number of steps required with a starting number of only 5 and it was something like 10^20. But it is basically an exercise in ordinal arithmetic, which is part of set theory. Has nothing tdo with calculus or linear algebra or any subject that anyone but a math student would ever encounter.

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [September 29, 2024, 2:46am UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/4 "2024-09-29T02:46:14Z")

</div>

I vaguely remember hearing of this one. Isn’t the “time” it takes to get there unfathomably long? Like we don’t know how big a number you have to get to before it even starts noticeably decreasing?

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [September 29, 2024, 3:07am UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/5 "2024-09-29T03:07:25Z")

</div>

I would say it is fathomable in the sense that you can use ordinals to prove the claim and estimate/put bounds on the length of the sequence and compare it to other “large numbers”, like @Hari_Seldon outlines.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 29, 2024, 3:37am UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/6 "2024-09-29T03:37:40Z")

</div>

Yes, of course it is unfathomably long. But the amazing thing is that it seems to increase for an unfathomably long time to an unfathomably large number. But then it begins to decrease, very slowly and eventually stops.

You actually can prove this happens for each individual integer but there is no general argument without \epsilon\_0 induction that it always does. By the way, \epsilon is the largest ordinal you can name using only \omega and ordinal addition, multiplication and exponentiation.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [September 29, 2024, 1:23pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/7 "2024-09-29T13:23:34Z")

</div>

> [@Hari\_Seldon](#):
>
> I once tried to work out the number of steps required with a starting number of only 5 and it was something like 10^20.

Seems kind of small? I need to check this. But by “fathomable” I meant that we should be able to write down the total number of steps, how many steps it takes until it starts decreasing (halfway through?) and how big it gets all in terms of a fast-growing hierarchy of functions. There are some explicit formulae on Wikipedia (which seem to indicate the number of steps starting with 5 is more than 10^{10^{10^{19727}}})

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 29, 2024, 2:48pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/8 "2024-09-29T14:48:09Z")

</div>

What did you look up on Wiki? The thing is that T\_3=3^3, but already T\_4 has all exponents below 4.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [September 29, 2024, 3:15pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/9 "2024-09-29T15:15:53Z")

</div>

Short answer is, see here: [Goodstein's theorem - Wikipedia](https://en.wikipedia.org/wiki/Goodstein%27s_theorem#Sequence_length_as_a_function_of_the_starting_value)  
Should link to a section “Sequence length as a function of the starting value” containing some references re. the growth rate and values, as well as a little table

---

<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:** [September 29, 2024, 4:26pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/10 "2024-09-29T16:26:52Z")

</div>

> [@Hari\_Seldon](#):
>
> However in the process, we are allowed only addition, so we have to replace 4^4-1 by 3\times4^3+3+3\times 4^2+3\times4+3 using the formula \frac{4^4-1}{4-1}=4^3+4^2+4+1

I’m not clear on what you’re saying, here… It sounds like any n-tableau should only contain n, no other explicit integer, but that expression contains both 3s and 4s. Is that mixed expression part of the 3-tableau or the 4-tableau?

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [September 29, 2024, 9:41pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/11 "2024-09-29T21:41:17Z")

</div>

It’s a kind of base-n decomposition, so smaller numbers are ok.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 30, 2024, 1:17am UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/12 "2024-09-30T01:17:22Z")

</div>

T\_n can contain any number =\< n. So T\_2 has 2’s and 1’2. T\_3 any of 1.2. Or 3. But in going from T\_n to T\_{n+1}, all instances of n are replaced by n+1, but all smaller numbers do not change. Then subtract 1.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [October 1, 2024, 2:56pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/13 "2024-10-01T14:56:38Z")

</div>

> [@Hari\_Seldon](#):
>
> What did you look up on Wiki? The thing is that T\_3=3^3, but already T\_4 has all exponents below 4.

NB that’s true enough, but first consider e.g. the sequence starting with 4. Then T\_3 = 3^3 - 1 already has all exponents below 3. Then T\_{23} = 2 \cdot 23^2. Going with this, you have to add another 23 to the base, then (more than) twice that, etc., so, adding all this up (24\cdot 2^{24}-1 = 402563183) it takes T\_{402563183}=402563183^2 before we even get to the linear part. Doing the same calculation again, we get to zero at base 24\cdot 2^{24}\cdot2^{24\cdot 2^{24}}-1.

We can do a similar calculation for 5, but I think we see that we have left 10^{20} far behind despite the lack of an initial blow-up; a power of 2, let alone 3, is enough to force the rest of the sequence to be long (longer than a simple power of 10, I mean: we get a (short) tower of powers).

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [October 1, 2024, 7:36pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/14 "2024-10-01T19:36:36Z")

</div>

You are correct. I did a similar computation starting with 4 and got similar results. I cannot imagine what made me think that 5 gave a reasonable result. I wonder what my illustrative example of 21 would give. And yet the argument with epsilon\_0 is almost trivial.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [October 1, 2024, 9:08pm UTC](https://boards.straightdope.com/t/a-very-strange-integral-sequence/1008224/15 "2024-10-01T21:08:26Z")

</div>

Starting with 21=2^{2^2}+2^2+1 the final base is f\_{\omega^\omega}(f\_\omega(f\_0(3)))-1=f\_{\omega^\omega}(f\_4(4))-1, if I have understood the general argument. Now f\_4(4) is pretty big in the day-to-day sense, but we can write it as a stack of 7 or so powers. However, now this pretty big number is the input to a much faster-growing function, so we can ask ourselves how we want to notate or try to comprehend the resulting value. It is a finite number which is perfectly computable, though.
