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”).

A085564
Primes whose sum of nonprime digits is also prime.
2
11, 41, 61, 89, 101, 113, 131, 151, 163, 167, 191, 199, 211, 241, 311, 349, 389, 401, 409, 421, 431, 439, 449, 461, 479, 541, 601, 613, 617, 631, 641, 661, 761, 809, 829, 839, 859, 881, 911, 919, 947, 983, 991, 1013, 1019, 1021, 1031, 1051, 1063, 1091
OFFSET
1,1
LINKS
EXAMPLE
a(100)=1993 because it is prime and 1+9+9=19, a prime.
MATHEMATICA
snpdQ[n_]:=PrimeQ[Total[Select[IntegerDigits[n], !PrimeQ[#]&]]]; Select[ Prime[Range[200]], snpdQ] (* Harvey P. Dale, Mar 21 2020 *)
CROSSREFS
Sequence in context: A040167 A040170 A333085 * A158205 A179446 A260269
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jul 05 2003
STATUS
approved