A242315 Indices of primes in the tribonacci-like sequence A214826.
4, 7, 23, 71, 379, 467, 596, 6372, 10100, 11660, 23099, 25419, 26011, 36588, 76895, 112867
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
Crossrefs
Programs
-
Mathematica
a={1,4,4}; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[3]]=sum]
Comments