[go: up one dir, main page]

login
A242315
Indices of primes in the tribonacci-like sequence A214826.
1
4, 7, 23, 71, 379, 467, 596, 6372, 10100, 11660, 23099, 25419, 26011, 36588, 76895, 112867
OFFSET
1,1
COMMENTS
a(17) > 2*10^5.
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
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]
KEYWORD
nonn
AUTHOR
Robert Price, May 10 2014
STATUS
approved