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.

A121534 Lucas-Fibonacci prime twins: Prime Lucas numbers Lucas(k) such that Fibonacci numbers Fibonacci(k) are also prime.

Original entry on oeis.org

7, 11, 29, 199, 521, 3571, 6643838879
Offset: 1

Views

Author

Alexander Adamchuk, Aug 05 2006

Keywords

Comments

Indices for Lucas-Fibonacci prime twins are A080327(n). Corresponding Fibonacci-Lucas prime twins are A121533(n). Probable primes Fibonacci(148091) and Lucas(148091) are the next probable Fibonacci-Lucas and Lucas-Fibonacci prime twins. They have 30949 and 30950 digits.

Examples

			a(1) = 7 because Lucas(4) = 7 is prime and Fibonacci(4) = 3 is prime too.
		

Crossrefs

Programs

  • Mathematica
    Do[f=Fibonacci[n]; l=Fibonacci[n-1]+Fibonacci[n+1]; If[PrimeQ[f]&&PrimeQ[l], Print[{f,l}]], {n,10000}]
    nn=1000;Transpose[Select[Thread[{Fibonacci[Range[nn]], LucasL[ Range[nn]]}],And@@PrimeQ[#]&]][[2]] (* Harvey P. Dale, Jul 08 2011 *)

Extensions

a(1) and example corrected by Harvey P. Dale, Jul 08 2011