login
Prime Fibonacci 7-step numbers, A066178.
2

%I #8 Feb 16 2025 08:32:57

%S 2,127,31489

%N Prime Fibonacci 7-step numbers, A066178.

%C The next term is the 30673-digit probable prime 59456197869789581...206057955817 that is the 102490th term of the heptanacci sequence (using the definition in Noe-Post and Weisstein). This is too large to include here.

%H Tony D. Noe and Jonathan Vos Post, <a href="http://www.cs.uwaterloo.ca/journals/JIS/VOL8/Noe/noe5.html">Primes in Fibonacci n-step and Lucas n-step Sequences,</a> J. of Integer Sequences, Vol. 8 (2005), Article 05.4.4

%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Fibonaccin-StepNumber.html">Fibonacci n-Step Number</a>

%t a={1, 0, 0, 0, 0, 0, 0}; lst={}; Do[s=Plus@@a; a=RotateLeft[a]; a[[ -1]]=s; If[PrimeQ[s], AppendTo[lst, s]], {n, 100}]; lst

%K bref,nonn,changed

%O 1,1

%A _T. D. Noe_, Apr 22 2005, May 13 2008