login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A234696 Indices of primes in the tribonacci-like sequence, A214727. 18
1, 2, 3, 8, 16, 20, 64, 208, 364, 2652, 7763, 17280, 24104, 31823, 70864, 74008 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(17) > 2*10^5.

LINKS

Table of n, a(n) for n=1..16.

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, 2, 2}; Print[2]; Print[2]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[3]]=sum]

Position[LinearRecurrence[{1, 1, 1}, {1, 2, 2}, 75000], _?PrimeQ]-1//Flatten (* Harvey P. Dale, Sep 02 2016 *)

CROSSREFS

Cf. A001590, A100683, A231574, A231575, A232542, A214899, A230607, A020992, A232498, A214727.

Sequence in context: A160622 A153699 A182670 * A169949 A261984 A100321

Adjacent sequences:  A234693 A234694 A234695 * A234697 A234698 A234699

KEYWORD

nonn

AUTHOR

Robert Price, Dec 29 2013

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 23 19:45 EST 2020. Contains 331175 sequences. (Running on oeis4.)