login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes in the tribonacci-like sequence, A141523.
16

%I #5 Jan 16 2014 15:00:43

%S 3,5,7,13,83,281,3217,10883,1425427,55187617,24453221203,

%T 124001884480009,29872617402415741,185875267730565697,

%U 341877918058715653,44580781450601596678810171573,36012536557658790037420884825332617431175065740791

%N Primes in the tribonacci-like sequence, A141523.

%t a={3,1,1}; Print[3]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]

%Y Cf. A001590, A100683, A231574, A231575, A232543, A214899, A020992, A233554. A214727, A234696, A141523, A235862.

%K nonn

%O 1,1

%A _Robert Price_, Jan 16 2014