login
A248921
Primes in the pentanacci numbers sequence A000322.
1
5, 17, 977, 28697, 56417, 1428864769, 2809074173, 21344178433, 626815657409, 18407729752001, 2317881588988297338942875602391948125494800020122167809, 136507010958920295813169620935932629930648432530102206331972221346174230852977164801
OFFSET
1,1
COMMENTS
a(13) is too large to display here. It has 132 digits and is the 450th term in A000322.
LINKS
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 *)
KEYWORD
nonn
AUTHOR
Robert Price, Oct 16 2014
STATUS
approved