Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A188643
Numbers which are not a multiple of the product of their digits.
6
10, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
OFFSET
1,1
COMMENTS
Complement of A007602; A188642(a(n)) = 0; A011540 is a subsequence.
LINKS
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
Cf. A065877.
Sequence in context: A102362 A327270 A070837 * A087140 A226778 A061837
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Apr 07 2011
STATUS
approved