A163159 Fibonacci numbers F such that F^2-2 is prime.
2, 3, 5, 13, 21, 55, 89, 233, 987, 1597, 5702887, 1836311903, 99194853094755497, 26925748508234281076009, 184551825793033096366333, 468340976726457153752543329995929, 30010821454963453907530667147829489881, 1188518561323126046432205871807859915657177
Offset: 1
Keywords
Examples
2^2-2=2. 3^2-2=7. 5^2-2=23.
Programs
-
Mathematica
f[n_]:=Fibonacci[n]; f2[n_]:=f[n]^2-2; lst={};Do[If[PrimeQ[f2[n]],AppendTo[lst, f[n]]],{n,6!}];lst Select[Fibonacci[Range[400]],PrimeQ[#^2-2]&] (* Harvey P. Dale, Oct 21 2011 *)
Formula
Extensions
More terms from Harvey P. Dale, Oct 21 2011
Comments