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
FORMULA
MATHEMATICA
a={-1, -1, 3}; 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
EXTENSIONS
Name clarified by Arthur O'Dwyer, Jul 31 2024
STATUS
approved