OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
379 is in the sequence because the seven consecutive primes starting with 379 are 379, 383, 389, 397, 401, 409, and 419, and (379+383+389)=1151, and (379+383+389+397+401)=1949, and (379+383+389+397+401+409+419)=2777, and 1151 and 1949 and 2777 are all primes.
MATHEMATICA
Select[Partition[Prime[Range[5000]], 7, 1], AllTrue[{Total[Take[#, 3]], Total[Take[#, 5]], Total[#]}, PrimeQ]&][[;; , 1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Harvey P. Dale, Feb 11 2024
STATUS
approved