login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Prime terms in the tribonacci-like sequence A214827.
0

%I #7 May 10 2014 23:32:59

%S 5,5,11,37,127,233,1451,4909,9029,16607,103333,37314473023,

%T 232180447061,2657194941637,13356042204482014297297131147848321,

%U 4717604056747741831285902446873182186115052544834224581062711115537322612895948580479

%N Prime terms in the tribonacci-like sequence A214827.

%C a(17) is too large to display here having 133 digits. It corresponds to A214827(501).

%t 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]

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

%K nonn

%O 1,1

%A _Robert Price_, May 10 2014