OFFSET
1,1
COMMENTS
a(16) is too large to display here. It has 63 digits and is the 221st term in A000288.
MATHEMATICA
a={1, 1, 1, 1}; For[n=4, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[4]]=sum]
Select[LinearRecurrence[{1, 1, 1, 1}, {1, 1, 1, 1}, 300], PrimeQ] (* Harvey P. Dale, Jan 15 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Sep 27 2014
STATUS
approved