OFFSET
1,1
COMMENTS
For a number to be a term of this sequence it must satisfy two similar but distinct conditions:
1. The number is prime and is the sum of consecutive primes.
2. The sum of all primes up to and including the number is also a prime number.
See examples below.
EXAMPLE
2 is a term because 2 is prime and equals Sum_{2}. This is the trivial case.
281 is a term because 281 is prime and equals Sum_{2,3,...,41,43}, also Sum_{2,3,...,41,43,47,...,277,281} = 7699 which is also prime.
PROG
(PARI) listp(nn) = {my(s=0); forprime(p=2, nn, s += p; if (isprime(s), my(ss = 0); forprime(q=2, s, ss += q); if (isprime(ss), print1(s, ", ")); ); ); } \\ Michel Marcus, Apr 11 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Torlach Rush, Apr 09 2019
EXTENSIONS
More terms from Michel Marcus, Apr 11 2019
STATUS
approved