OFFSET
1,1
COMMENTS
a(7) is too large to display here. It has 206 digits and is the 722nd term in A001630.
MATHEMATICA
a={0, 0, 1, 2}; Print[2]; For[n=4, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[4]]=sum]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Apr 26 2014
EXTENSIONS
a(1)=2 prepended and Mathematica program corrected by Robert Price, Sep 09 2014
STATUS
approved