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!)
A062669 Every divisor (except 1) contains the digit 4. 18
41, 43, 47, 149, 241, 347, 349, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 541, 547, 641, 643, 647, 743, 941, 947, 1049, 1249, 1409, 1423, 1427, 1429, 1433, 1439, 1447, 1451, 1453, 1459, 1471, 1481, 1483, 1487 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
1849 has divisors 1, 43 and 1849, the last two of which contain the digit 4.
MATHEMATICA
fQ[n_, dgt_] := Union[ MemberQ[#, dgt] & /@ IntegerDigits@ Rest@ Divisors@ n][[1]]; Select[ Range[2, 1500], fQ[#, 4] &] (* Robert G. Wilson v, Jun 11 2014 *)
Select[Range[2, 1500], AllTrue[Rest[Divisors[#]], DigitCount[#, 10, 4]>0&]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 05 2021 *)
PROG
(Magma) [k:k in [2..1500]| forall{d:d in Set(Divisors(k)) diff {1}| 4 in Intseq(d)}]; // Marius A. Burtea, Nov 07 2019
CROSSREFS
Sequence in context: A223458 A243429 A345346 * A284290 A045710 A090152
KEYWORD
base,easy,nonn
AUTHOR
Erich Friedman, Jul 04 2001
EXTENSIONS
Offset corrected by Amiram Eldar, Nov 07 2019
Example corrected by Harvey P. Dale, Jun 05 2021
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 26 10:59 EDT 2024. Contains 371997 sequences. (Running on oeis4.)