OFFSET
1,1
MATHEMATICA
a={3, 1, 1}; 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, Jan 16 2014
STATUS
approved