login
A230102
a(0)=1; thereafter a(n+1) = a(n) + (product of digits of a(n)).
4
1, 2, 4, 8, 16, 22, 26, 38, 62, 74, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102
OFFSET
0,2
COMMENTS
Never gets above 102.
FORMULA
a(n) = 102 for n > 9. - Charles R Greathouse IV, May 26 2026
MATHEMATICA
NestList[#+Times@@IntegerDigits[#]&, 1, 50] (* Harvey P. Dale, Jul 30 2023 *)
PROG
(Haskell)
a230102 n = a230102_list !! n
a230102_list = iterate a230099 1 -- Reinhard Zumkeller, Oct 13 2013
(PARI) a(n)=if(n>9, 102, [1, 2, 4, 8, 16, 22, 26, 38, 62, 74][n+1]) \\ Charles R Greathouse IV, May 26 2026
CROSSREFS
KEYWORD
nonn,base,easy,changed
AUTHOR
N. J. A. Sloane, Oct 12 2013
STATUS
approved