OFFSET
2,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 2..1000
R. L. Goodstein, On the Restricted Ordinal Theorem, J. Symb. Logic 9, 33-41, 1944.
Eric Weisstein's World of Mathematics, Hereditary Representation.
Eric Weisstein's World of Mathematics, Goodstein Sequence.
Wikipedia, Goodstein's Theorem
Reinhard Zumkeller, Haskell programs for Goodstein sequences
EXAMPLE
a(12)=1065 since with g(2) = 12 = 2^(2+1) + 2^2, we get g(3) = 3^(3+1) + 3^3 - 1 = 107 = 3^(3+1) + 2*3^2 + 2*3 + 2 and g(4) = 4^(4+1) + 2*4^2 + 2*4 + 2 - 1 = 1065.
a(17) = 4^(4^4) - 1, with g(2) = 17 = 2^(2^2) + 1 and g(3) = 3^(3^3).
Similarly a(18) = 4^(4^4) + 1, with g(2) = 18 = 2^(2^2) + 2 and g(3) = 3^(3^3) + 2.
PROG
(Haskell) -- See Link
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Oct 13 2000
STATUS
approved