login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062670 Composite and every divisor (except 1) contains the digit 4. 18
1849, 6407, 14227, 14309, 14921, 16403, 16441, 17243, 18409, 18847, 19049, 19147, 20459, 20941, 21457, 21479, 21949, 22427, 23453, 25427, 27649, 30409, 30463, 31949, 34921, 40463, 40721, 43009, 44227, 44509, 45107, 49303, 58343, 59491 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Sequence in context: A237892 A326318 A115719 * A206468 A031764 A031674
KEYWORD
base,easy,nonn
AUTHOR
Erich Friedman, Jul 04 2001
EXTENSIONS
Offset corrected by Amiram Eldar, Nov 07 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)