OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
EXAMPLE
17 is in the sequence because 2+3+5+7+11+13+17 = 58 and 58 = 2 * 29 and 29 is prime.
MATHEMATICA
Prime[#]&/@Flatten[Position[Accumulate[Prime[Range[1300]]], _?(EvenQ[#] && PrimeQ[#/2]&)]] (* Harvey P. Dale, Oct 04 2012 *)
PROG
(PARI) s=2; forprime(p=3, 15000, s=s+p; if(s%2, i=1, if(isprime(s/2), print1(p, ", "), )))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Randy L. Ekl, Jan 10, 2004
STATUS
approved