OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(2)=311 is a term because this is smallest of five consecutive primes i.e. 311,313,317,331 and 337, whose sum of digits is prime i.e. 3+1+1=5, 3+1+3=7, 3+1+7=11, 3+3+1=7 and 3+3+7=13.
MATHEMATICA
Select[Partition[Prime[Range[2000]], 5, 1], AllTrue[Total[#]&/@ (IntegerDigits/@ #), PrimeQ]&][[All, 1]] (* Harvey P. Dale, Jul 16 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, May 14 2005
STATUS
approved