OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
679 -> [ 378 ][ 168 ][ 48 ][ 32 ][ 6 ] -> one digit in five steps.
MATHEMATICA
persistence[n_] := Module[{cnt = 0, k = n}, While[k > 9, cnt++; k = Times @@ IntegerDigits[k]]; cnt]; Select[Range[4000], !PrimeQ[#] && persistence[#] == 5 &] (* T. D. Noe, Nov 23 2011 *)
mp5Q[n_]:=CompositeQ[n]&&Length[NestWhileList[ Times@@IntegerDigits[ #]&, n, #>9&]] == 6; Select[Range[4000], mp5Q] (* Harvey P. Dale, Apr 23 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Nov 13 2011
STATUS
approved