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”).

A242325
Prime terms in the tribonacci-like sequence A214827.
0
5, 5, 11, 37, 127, 233, 1451, 4909, 9029, 16607, 103333, 37314473023, 232180447061, 2657194941637, 13356042204482014297297131147848321, 4717604056747741831285902446873182186115052544834224581062711115537322612895948580479
OFFSET
1,1
COMMENTS
a(17) is too large to display here having 133 digits. It corresponds to A214827(501).
MATHEMATICA
a={1, 5, 5}; Print[5]; Print[5]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]
KEYWORD
nonn
AUTHOR
Robert Price, May 10 2014
STATUS
approved