

A230607


Primes in the tribonaccilike sequence A214899.


29



2, 2, 5, 173, 1979, 10035601, 1314434453, 15043078019, 75946890143515970461691, 9947307490759622919990767, 33651500197152003774080593, 113842209720657202395344053, 577291982170349695261586984393, 33503139717732963900675717496847941
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

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


MATHEMATICA

a={2, 1, 2}; Print[2]; Print[2]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]
Select[LinearRecurrence[{1, 1, 1}, {2, 1, 2}, 300], PrimeQ] (* Harvey P. Dale, Jul 30 2015 *)


CROSSREFS

Cf. A001590, A100683, A231574, A231575, A232543, A214899.
Sequence in context: A227575 A114715 A234703 * A036739 A158311 A158061
Adjacent sequences: A230604 A230605 A230606 * A230608 A230609 A230610


KEYWORD

nonn


AUTHOR

Robert Price, Dec 05 2013


EXTENSIONS

More terms from Harvey P. Dale, Jul 30 2015


STATUS

approved



