OFFSET
0,1
FORMULA
a(n) = min { m >= 0 : A258851^n(m) = 8 }.
EXAMPLE
a(7) = 217 -> 201 -> 191 -> 43 -> 14 -> 15 -> 19 -> 8.
a(8) = 1113 -> 1714 -> 1153 -> 191 -> 43 -> 14 -> 15 -> 19 -> 8.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jun 19 2015
STATUS
approved