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