OFFSET
1,2
EXAMPLE
n=2: list = {2,4,16,37,58,89,145,42,20,4,16,37,58,...}; a(2) = max(list) = 145;
For n < 145, max > initial value except few cases. See A099649.
MATHEMATICA
ed[x_] :=IntegerDigits[x]; func[x_] :=Apply[Plus, ed[x]^2]; itef[x_, ho_] :=NestList[id2, x, 100]; Table[Max[Union[itef[w, 100]]], {w, 1, 256}]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 12 2004
STATUS
approved