A243588 Primes p such that sum of digits + 9 is prime.
2, 11, 13, 17, 19, 31, 37, 53, 59, 71, 73, 101, 103, 107, 109, 127, 149, 163, 167, 181, 211, 233, 239, 251, 257, 271, 293, 307, 347, 383, 389, 419, 431, 433, 479, 491, 499, 503, 509, 521, 523, 541, 563, 569, 587, 613, 617, 631, 653, 659, 677, 701, 743
Offset: 1
Links
- Robert Israel and Vincenzo Librandi, Table of n, a(n) for n = 1..10000 (n = 1..1000 from Vincenzo Librandi)
Crossrefs
Cf. similar sequences listed in A243586.
Programs
-
Magma
[p: p in PrimesUpTo(1500) | IsPrime(q) where q is 9+&+Intseq(p)];
-
Maple
filter:= n -> isprime(convert(convert(n,base,10),`+`)+9): select(isprime and filter,[$1..1000]); # Robert Israel, Jun 08 2014
-
Mathematica
Select[Prime[Range[200]], PrimeQ[Plus@@IntegerDigits[#] + 9] &]