A153862 Smallest of four consecutive Fibonacci numbers such that sum of four consecutive Fibonacci numbers is prime number.
1, 1, 3, 5, 21, 55, 233, 377, 987, 317811, 5702887, 39088169, 701408733, 12586269025, 591286729879, 72723460248141, 3416454622906707, 43566776258854844738105
Offset: 1
Keywords
Programs
-
Mathematica
a=0;b=1;c=1;lst={};Do[d=Fibonacci[n];p=a+b+c+d;If[PrimeQ[p],AppendTo[lst,a]];a=b;b=c;c=d,{n,3,6!}];lst Transpose[Select[Partition[Fibonacci[Range[500]],4,1],PrimeQ[ Total[ #]]&]] [[1]] (* Harvey P. Dale, Jan 11 2013 *)
Comments