ROSECODE 396
The Goodstein Sequence
We define the hereditary base-n representation of a number as follow:
For instance, if , and , its hereditary base-2 representation is:
We express n in base 2 and recursively every exponent in base 2.
Let's define the sequence as follow:
Take the hereditary base-2 representation of n, replace each 2s with 3s and substract 1
Take the hereditary base-k representation of , replace each s with s and substract 1
Here the first values for
Find
[My timing: < 1 sec]
For instance, if
We express n in base 2 and recursively every exponent in base 2.
Let's define the
Here the first values for
Find
[My timing: < 1 sec]