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
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jun 07 2014
STATUS
approved