OFFSET
0,3
COMMENTS
A variant of A282864, having the same definition except for opposite signs.
PROG
(PARI) {print1(s=0); c=1; p=2; for(n=1, 199, if(s>=p, a=-p; p=nextprime(p+1), a=c; while(isprime(c++), )); print1(", "abs(a)); s+=a)}
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Feb 23 2017
STATUS
approved