Sequence A268687: a(n) = MAX(g_k(n)) weak Goodstein
A Goodstein sequence, using the "weak" or slower-growing definition, is described in OEIS sequence A266202:
A nonnegative n in ordinary (depth-1) base-k representation, is n rewritten as linear combination of powers of k:
n = n1×bm1 +...+ nk×bmk
where 0 < ni < b
and m1 > ... > mk >= 0.
For instance the ordinary representation of 34 in base 3 is 33+2×3+1.
Let bk(n) be the function that substitutes the bases of the base-k representation of n with the base k+1. For example, b3(34) = b3(33+2×3+1) = 43+2×4+1 = 73.
Define the weak Goodstein function as:
gk(n) = n for k=0
bk+1(gk-1(n))-1 for k>0
See example (in A266202) for instances.
Let n be a fixed nonnegative: Goodstein's theorem shows that the sequence gk(n) eventually stabilises and then decreases by 1 in each step until it reaches 0. Thereafter, all the values of gk(n) less than 0 are not part of the sequence.
By Goodstein's theorem we conclude that gk(n) is a finite sequence.
Sequence A268687 gives the maximum value seen in the Goodstein sequence starting with n.
This page was written in the "embarrassingly readable" markup language RHTF, and was last updated on 2022 Feb 23.
