OFFSET
1,1
COMMENTS
m=4 in PARI below. With nesting level 7, z < 1 and Li(z) is not defined so an error occurs. This is why we take the absolute value of Li(z).
FORMULA
Let Li(n) = logarithmic integral of n. a(n) = Li(Li(Li(Li(n))))
MATHEMATICA
Floor[Nest[LogIntegral, 10^Range[30], 4]] (* Harvey P. Dale, Jun 18 2013 *)
PROG
(PARI) g(n, m) = for(x=1, n, z=10^x; for(y=1, m, z=abs(Li(z))); print1(floor(z)", ")) Li(x) = { -eint1(log(1/x)) }
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jun 30 2004
EXTENSIONS
More terms from Harvey P. Dale, Jun 18 2013
STATUS
approved