[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A152426
Primes that have both prime digits (2,3,5,7) and nonprime digits (0,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, 307, 311, 313, 317, 331, 347, 349, 359, 367, 379
OFFSET
1,1
COMMENTS
See also A152427, a subsequence without zeros.
MATHEMATICA
okQ[n_] := Module[{d=Union[IntegerDigits[n]]}, Length[Intersection[d, {2, 3, 5, 7}]]>0 && Length[Intersection[d, {0, 1, 4, 6, 8, 9}]]>0]; Select[Prime[Range[100]], okQ] (* T. D. Noe, Jan 20 2011 *)
KEYWORD
base,easy,nonn
AUTHOR
Omar E. Pol, Dec 03 2008
EXTENSIONS
Edited by Omar E. Pol, Jul 04 2009, Jan 20 2011
Definition clarified by N. J. A. Sloane, Jul 05 2009
STATUS
approved