OFFSET
1,4
PROG
(PARI) for(n=1, 100, s=2; while(sum(i=1, s, 1-isprime(i))<n, s++); print1(-sum(k=1, s, (1-is prime(k))*k)+sum(k=1, n, prime(k)), ", "))
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Benoit Cloitre, Jun 23 2002
EXTENSIONS
Corrected and edited by Jaroslav Krizek, Jun 17 2009
STATUS
approved