OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
t={}; Do[p=Times@@IntegerDigits[n]; If[p==0, AppendTo[t, n], If[!IntegerQ[n/p], AppendTo[t, n]]], {n, 99}]; t (* Jayanta Basu, May 05 2013 *)
nmpQ[n_]:=Module[{idn=IntegerDigits[n], pr}, pr=If[MemberQ[idn, 0], Pi, Times@@ idn]; Mod[n, pr]!=0]; Select[Range[100], nmpQ] (* Harvey P. Dale, Oct 13 2018 *)
PROG
(Haskell)
import Data.List (elemIndices)
a188643 n = a188643_list !! (n-1)
a188643_list = map succ $ elemIndices 0 $ map a188642 [1..]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Apr 07 2011
STATUS
approved