OFFSET
1,1
COMMENTS
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Apr 30 2015
EXAMPLE
18 is in sequence because the list of divisors of 18: (1, 2, 3, 6, 9, 18) contains digit 3.
MATHEMATICA
Select[Range@108, Part[Plus @@ DigitCount@ Divisors@ #, 3] > 0 &] (* Michael De Vlieger, Apr 20 2015 *)
PROG
(Magma) [n: n in [1..1000] | [3] subset Setseq(Set(Sort(&cat[Intseq(d): d in Divisors(n)])))]
(PARI) is(n)=fordiv(n, d, if(setsearch(Set(digits(d)), 3), return(1))); 0 \\ Charles R Greathouse IV, Apr 30 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Apr 20 2015
STATUS
approved