0,1

Table of n, a(n) for n=0..2.

Resta, Giovanni, Puzzle 18.- Some special sums of consecutive primes , specifically the large solution by Giovanni Resta.

2+3+5+...+3833 = 3847+...+5557 and therefore 3833 is in the sequence.

(PARI) p=2; s=2; q=3; t=3; while(p<512345678900, while(s<=t, p=nextprime(p+1); s=s+p; t=t-p); if (s==t, print1(p, ", "), ); while(t<s, q=nextprime(q+1); t=t+q); if(s==t, print1(p, ", "), ))

Sequence in context: A200735 A226984 A196628 * A116213 A136544 A024048

Adjacent sequences: A089892 A089893 A089894 * A089896 A089897 A089898

more,nonn,bref

Randy L. Ekl, Jan 10 2004

Better definition from Adam M. Kalman (mocha(AT)clarityconnect.com), Jun 16 2005

approved