login
A243588
Primes p such that sum of digits + 9 is prime.
2
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,1
LINKS
Robert Israel and Vincenzo Librandi, Table of n, a(n) for n = 1..10000 (n = 1..1000 from Vincenzo Librandi)
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] &]
PROG
(Magma) [p: p in PrimesUpTo(1500) | IsPrime(q) where q is 9+&+Intseq(p)];
CROSSREFS
Cf. similar sequences listed in A243586.
Sequence in context: A119449 A243586 A296923 * A137977 A338976 A160950
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jun 07 2014
STATUS
approved