OFFSET
1,2
COMMENTS
No term has 0 as one of its digits.
The only primes in the sequence are {2, 3, 5, 7, 11} and any other prime that has only 1s as digits, such as 1111111111111111111.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
mdr[n_] := FixedPoint[ Times @@ IntegerDigits[#] &, n]; Select[ Range[400], (m = mdr[#]; m > 0 && Mod[#, m] == 0) &] (* Jean-François Alcover, Nov 30 2011 *)
dvsbQ[n_]:=Mod[n, NestWhile[Times@@IntegerDigits[#]&, n, #>9&]/.(0->Pi)]==0; Select[Range[ 500], dvsbQ] (* Harvey P. Dale, Aug 09 2023 *)
PROG
(Haskell)
a064700 n = a064700_list !! (n-1)
a064700_list = filter f [1..] where
f x = mdr > 0 && x `mod` mdr == 0 where mdr = a031347 x
-- Reinhad Zumkeller, Sep 22 2011
CROSSREFS
KEYWORD
nonn,base,nice
AUTHOR
Santi Spadaro, Oct 12 2001
STATUS
approved