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!)
A085558 Numbers with the property that the number of prime digits < number of nonprime digits. 2
0, 1, 4, 6, 8, 9, 10, 11, 14, 16, 18, 19, 40, 41, 44, 46, 48, 49, 60, 61, 64, 66, 68, 69, 80, 81, 84, 86, 88, 89, 90, 91, 94, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 124, 126, 128, 129, 130 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
pdnpdQ[n_]:=With[{idn=IntegerDigits[n]}, Count[idn, _?(PrimeQ[#]&)]<Count[idn, _?(!PrimeQ[ #]&)]]; Select[Range[0, 150], pdnpdQ] (* Harvey P. Dale, Dec 19 2023 *)
PROG
(PARI) isok(n) = {my(d = if (n, digits(n), [0]), nbp = #select(x->isprime(x), d)); 2*nbp < #d; } \\ Michel Marcus, Feb 28 2019
CROSSREFS
Cf. A084984.
Sequence in context: A320985 A047748 A299540 * A084984 A104499 A338941
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jul 04 2003
EXTENSIONS
0 added by Arkadiusz Wesolowski, Jul 11 2011
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 March 29 09:59 EDT 2024. Contains 371268 sequences. (Running on oeis4.)