OFFSET
1,4
EXAMPLE
Among the first 10 terms, a(3)+11, a(4)+11, a(5)+11, a(6)+11, a(7)+11, a(8)+11, a(9)+11 and a(10)+11 are primes. So a(11) = a(3)+a(4)+a(5)+a(6)+a(7)+a(8)+a(9)+a(10) = 14.
PROG
(PARI) {m=70; v=[1]; for(n=2, m, c=0; for(j=1, length(v), if(isprime(v[j]+n), c=c+v[j])); v=concat(v, c)); for(j=1, m, print1(v[j], ", "))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 30 2005
EXTENSIONS
More terms and PARI code from Klaus Brockhaus, Aug 04 2005
STATUS
approved