OFFSET
1,1
COMMENTS
If one uses any other number as a(1), the sequence either comes to an end with a single-digit term or eventually contains increasing strings of 8, 64 and 24 repeatedly. E.g., a(1) = 1234 gives 1234, 2612, 1262, 21212, 2222, 444, 1616, 666, 3636, 181818, 88888, 64646464, 24242424242424, 8888888888888, ...
PROG
(PARI) f(n) = my(d=digits(n), nd=[]); for (k=1, #d-1, nd = concat(nd, digits(d[k]*d[k+1]))); fromdigits(nd);
a(n) = if (n==1, 999, f(a(n-1))); \\ Michel Marcus, Dec 08 2018
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Jul 29 2005
EXTENSIONS
Corrected and extended by Joshua Zucker, May 10 2006
Edited by Jon E. Schoenfield, Dec 08 2018
STATUS
approved