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 tetranacci sequence A001631.
0

%I #8 Sep 26 2014 21:14:19

%S 2,7,193,19079,1823013184807,324494495853101147203936847,

%T 16085434555484907108254435283952049,

%U 255525859571903290673264616283734506003204622439226993660213169027169

%N Primes in tetranacci sequence A001631.

%C a(9) is too large to display here. It has 160 digits and is the 564th term in A001631.

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

%Y Cf. A001590, A001631, A100683, A231574, A231575, A232543, A214899, A020992, A233554. A214727, A234696, A141523, A235862,A214825, A235873, A001630, A241660, A247027.

%K nonn

%O 1,1

%A _Robert Price_, Sep 09 2014