OFFSET
1,1
MATHEMATICA
a={1, 3, 3}; Print[3]; Print[3]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Feb 22 2014
STATUS
approved