OFFSET
0,1
LINKS
Nicholas Matteo, Table of n, a(n) for n = 0..384
R. L. Goodstein, On the Restricted Ordinal Theorem, The Journal of Symbolic Logic 9, no. 2 (1944), 33-41.
EXAMPLE
G_1(9) = B_2(9)-1 = B_2(2^(2+1)+1)-1 = 3^(3+1) + 1-1 = 81;
G_2(9) = B_3(3^(3+1))-1 = 4^(4+1)-1 = 1023;
G_3(9) = B_4(3*4^4 + 3*4^3 + 3*4^2 + 3*4 + 3)-1 = 3*5^5 + 3*5^3 + 3*5^2 + 3*5 + 3-1 = 9842;
G_4(9) = B_5(3*5^5 + 3*5^3 + 3*5^2 + 3*5 + 2)-1 = 3*6^6 + 3*6^3 + 3*6^2 + 3*6 + 2-1 = 140743;
G_5(9) = B_6(3*6^6 + 3*6^3 + 3*6^2 + 3*6 + 1)-1 = 3*7^7 + 3*7^3 + 3*7^2 + 3*7 + 1-1 = 2471826;
G_6(9) = B_7(3*7^7 + 3*7^3 + 3*7^2 + 3*7)-1 = 3*8^8 + 3*8^3 + 3*8^2 + 3*8-1 = 50333399.
PROG
(PARI) lista(nn) = {print1(a = 9, ", "); for (n=2, nn, pd = Pol(digits(a, n)); q = sum(k=0, poldegree(pd), if (c=polcoeff(pd, k), c*x^subst(Pol(digits(k, n)), x, n+1), 0)); a = subst(q, x, n+1) - 1; print1(a, ", "); ); }
CROSSREFS
KEYWORD
nonn,fini
AUTHOR
Natan Arie Consigli, Apr 10 2016
STATUS
approved