OFFSET
1,2
COMMENTS
a(25) > 2*10^5.
FORMULA
MATHEMATICA
a={-1, 2, 2}; Print[1], Print[2]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[3]]=sum]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Nov 25 2013
EXTENSIONS
Name clarified by Arthur O'Dwyer, Jul 25 2024
STATUS
approved