The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A297624 Numbers k such that Fibonacci(2*k+1) and Fibonacci(2*k-1) are prime. 1
 2, 3, 6, 216, 285 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS a(6) > 1622184 if it exists (see A001605). - Chai Wah Wu, Jan 23 2018 LINKS FORMULA From Chai Wah Wu, Jan 23 2018: (Start) a(n) = (A279795(n)-1)/2 = (A281087(n)+1)/2 = (A073340(2n-1)+1)/2. For n > 1, a(n) == 0 mod 3 as otherwise Fibonacci(2*k+1) or Fibonacci(2*k-1) is even. (End) EXAMPLE 2 is in the sequence because F(3)=2 and F(5)=5 are prime. 6 is in the sequence because F(11)=89 and F(13)=233 are prime. MAPLE with(combinat, fibonacci): select(k -> isprime(fibonacci(2*k+1)) and isprime(fibonacci(2*k-1)), [\$1..500]); # Muniru A Asiru, Jan 25 2018 MATHEMATICA Select[Range[0, 3000], PrimeQ[Fibonacci[2 # + 1]] && PrimeQ[Fibonacci[2 # - 1]] &] PROG (MAGMA) [n: n in [0..700] | IsPrime(Fibonacci(2*n+1)) and  IsPrime(Fibonacci(2*n-1))]; (PARI) isok(n) = isprime(fibonacci(2*n-1)) && isprime(fibonacci(2*n+1)); \\ Michel Marcus, Jan 08 2018 (Python) from sympy import isprime A297624_list, k, a, b, c, aflag = [], 1, 1, 1, 2, False while k < 1000:     cflag = isprime(c)     if aflag and cflag:         A297624_list.append(k)     k, a, b, c, aflag = k + 1, c, b + c, b + 2*c, cflag # Chai Wah Wu, Jan 23 2018 (GAP) o := [];; for k in [1..500] do if IsPrime(Fibonacci(2*k+1)) and IsPrime(Fibonacci(2*k-1)) then Add(o, k); fi; od; A297624 := o; # Muniru A Asiru, Jan 25 2018 CROSSREFS Cf. A000045, A001605, A073340, A117517, A117595, A279795, A281087. Sequence in context: A018734 A018755 A018769 * A015762 A015770 A093038 Adjacent sequences:  A297621 A297622 A297623 * A297625 A297626 A297627 KEYWORD nonn,more AUTHOR Vincenzo Librandi, Jan 08 2018 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 3 17:09 EST 2021. Contains 349467 sequences. (Running on oeis4.)