OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Multiplicative Persistence
EXAMPLE
2777 -> [ 686 ][ 288 ][ 128 ][ 16 ][ 6 ] -> one digit in five steps.
MAPLE
mp:= proc(n) option remember;
if n <= 9 then return 0 fi;
1+procname(convert(convert(n, base, 10), `*`))
end proc:
select(mp=5, [$1..4000]); # Robert Israel, Feb 12 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Sep 15 1998
EXTENSIONS
Offset corrected by Robert Israel, Feb 12 2019
STATUS
approved