OFFSET
0,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..76
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a259046 = fromJust . (`elemIndex` (map a259043 [0..]))
(PARI) f(n) = if (n<10, n, my(u=n%10); f(n\10 + u) + u); \\ A259043
a(n) = my(m=0); while (f(m)!=n, m++); m; \\ Michel Marcus, Jan 23 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 17 2015
STATUS
approved