OFFSET
1,1
COMMENTS
Complement of A002796.
A067458(a(n)) > 0. - Reinhard Zumkeller, Sep 24 2015
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ k*n, where k = 2520/2519 = 1.00039.... - Charles R Greathouse IV, Feb 13 2017
MATHEMATICA
a[c_]:=Module[{b=DeleteCases[IntegerDigits[c], 0]}, !And@@Divisible[c, b]]; Select[Range[250], a] (* Metin Sariyar, Sep 14 2019 *)
PROG
(Haskell)
import Data.List (nub, sort); import Data.Char (digitToInt)
a171492 n = a171492_list !! (n-1)
a171492_list = filter f [1..] where
f x = any ((> 0) . mod x) ds where
ds = map digitToInt (if c == '0' then cs else cs')
cs'@(c:cs) = nub $ sort $ show x
-- Reinhard Zumkeller, Jan 01 2014
(Magma) sol:=[]; for k in [1..120] do a:=Set(Intseq(k)) diff {0}; if #[c:c in a|IsIntegral(k/c)] ne #a then; Append(~sol, k); end if; end for; sol; // Marius A. Burtea, Sep 09 2019
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jaroslav Krizek, Dec 10 2009
STATUS
approved