OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
25 has divisors 1, 5 and 25, all of which contain the digit 5.
MATHEMATICA
fQ[n_, dgt_] := Union[ MemberQ[#, dgt] & /@ IntegerDigits@ Rest@ Divisors@ n][[1]]; Select[ Range[2, 6300], !PrimeQ[#] && fQ[#, 5] &] (* Robert G. Wilson v, Jun 11 2014 *)
Select[Range[6300], CompositeQ[#]&&AllTrue[Rest[Divisors[#]], DigitCount[ #, 10, 5]> 0&]&] (* Harvey P. Dale, Jan 22 2023 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Erich Friedman, Jul 04 2001
EXTENSIONS
Offset corrected by Amiram Eldar, Nov 07 2019
STATUS
approved