OFFSET
1,1
COMMENTS
a(13) is too large to display here. It has 132 digits and is the 450th term in A000322.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..19
MATHEMATICA
a={1, 1, 1, 1, 1}; For[n=5, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[5]]=sum]
Select[With[{c={1, 1, 1, 1, 1}}, LinearRecurrence[c, c, 300]], PrimeQ] (* Harvey P. Dale, Nov 30 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Oct 16 2014
STATUS
approved