A105767 Prime Lucas 6-step numbers, A074584.
3, 7, 31, 239, 1871, 3299217791, 101312422979, 48163250752607, 3858266531308645633776466396252776719, 31313481899920920568064578921684656674109265283366018689568994494028479
Offset: 1
Keywords
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
Crossrefs
Cf. A105766 (indices of prime Lucas 6-step numbers).
Programs
-
Mathematica
a={-1, -1, -1, -1, -1, 6}; lst={}; Do[s=Plus@@a; a=RotateLeft[a]; a[[ -1]]=s; If[PrimeQ[s], AppendTo[lst, s]], {n, 1000}]; lst