OFFSET
1,1
LINKS
Tony D. Noe and Jonathan Vos Post, Primes in Fibonacci n-step and Lucas n-step Sequences, J. of Integer Sequences, Vol. 8 (2005), Article 05.4.4
Eric Weisstein's World of Mathematics, Lucas n-Step Number
MATHEMATICA
a={-1, -1, -1, -1, -1, -1, 7}; lst={}; Do[s=Plus@@a; a=RotateLeft[a]; a[[ -1]]=s; If[PrimeQ[s], AppendTo[lst, s]], {n, 1000}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 22 2005
STATUS
approved