OFFSET
1,1
COMMENTS
The next term (a(9)) has 97 digits. - Harvey P. Dale, Feb 22 2023
MATHEMATICA
a={1, 2, 2}; Print[2]; Print[2]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]
Select[LinearRecurrence[{1, 1, 1}, {1, 2, 2}, 500], PrimeQ] (* Harvey P. Dale, Feb 22 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Dec 29 2013
STATUS
approved