cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A153866 Largest of four consecutive Fibonacci numbers whose sum is a prime number.

This page as a plain text file.
%I A153866 #7 Mar 11 2014 23:26:42
%S A153866 3,5,13,21,89,233,987,1597,4181,1346269,24157817,165580141,2971215073,
%T A153866 53316291173,2504730781961,308061521170129,14472334024676221,
%U A153866 184551825793033096366333
%N A153866 Largest of four consecutive Fibonacci numbers whose sum is a prime number.
%C A153866 1+1+2+3=7, 1+2+3+5=11, 3+5+8+13=29, 5+8+13+21=47, 21+34+55+89=199, ...
%t A153866 a=0;b=1;c=1;lst={};Do[d=Fibonacci[n];p=a+b+c+d;If[PrimeQ[p],AppendTo[lst,d]];a=b;b=c;c=d,{n,3,6!}];lst
%t A153866 Alternate: Transpose[Select[Partition[Fibonacci[Range[200]],4,1],PrimeQ[Plus@@#]&]][[4]] (* _Harvey P. Dale_, Dec 05 2010 *)
%Y A153866 Cf. A000045, A001906, A000071, A001605, A153862, A153863, A153865.
%K A153866 nonn
%O A153866 1,1
%A A153866 _Vladimir Joseph Stephan Orlovsky_, Jan 03 2009