A300404 Smallest integer k such that the largest term in the Goodstein sequence starting at k is > n.
2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
Offset: 0
Keywords
Links
- Wikipedia, Goodstein's theorem
Programs
-
PARI
\\ define the function bump() as in A059933 a(n) = my(k=1, x=k, step=2); while(1, x=bump(x, step)-1; step++; if(x > n, return(k)); if(x==0, k++; x=k; step=2))
Comments