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!)
A152427 Primes that have both prime digits (2,3,5,7) and nonprime digits (1,4,6,8,9). 2
13, 17, 29, 31, 43, 47, 59, 67, 71, 79, 83, 97, 103, 107, 113, 127, 131, 137, 139, 151, 157, 163, 167, 173, 179, 193, 197, 211, 229, 239, 241, 251, 263, 269, 271, 281, 283, 293, 311, 313, 317, 331, 347, 349, 359, 367, 379, 383, 389, 397, 421, 431, 433, 439 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A000040 \ A034844 \ A019546.

Cf. A018252.

LINKS

Table of n, a(n) for n=1..54.

FORMULA

a(n) ~ n log n

MATHEMATICA

okQ[n_] := Module[{d = Union[IntegerDigits[n]]}, Length[Intersection[d, {2, 3, 5, 7}]] > 0 && Length[Intersection[d, {1, 4, 6, 8, 9}]] > 0]; Select[Prime[Range[100]], okQ] (* T. D. Noe, Jan 21 2011 *)

pdQ[n_]:=Module[{idn=Select[IntegerDigits[n], #!=0&]}, Count[idn, _?PrimeQ]>0&&Count[idn, _?(!PrimeQ[#]&)]>0]; Select[Prime[Range[100]], pdQ] (* Harvey P. Dale, Jan 31 2013 *)

CROSSREFS

Cf. A018252, A019546, A034844, A087363, A092621, A092626, A152312, A152313, A152426.

Sequence in context: A078138 A164074 A152426 * A179909 A220488 A092626

Adjacent sequences:  A152424 A152425 A152426 * A152428 A152429 A152430

KEYWORD

base,easy,nonn

AUTHOR

Omar E. Pol, Dec 03 2008

EXTENSIONS

Corrected and extended by Harvey P. Dale, Jan 31 2013

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 October 7 05:10 EDT 2022. Contains 357270 sequences. (Running on oeis4.)