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.

A133320 Numbers k such that both A124296(k) = 5*F(k)^2 - 5*F(k) + 1 and A124297(k) = 5*F(k)^2 + 5*F(k) + 1 are prime, where F(k) = Fibonacci(k).

Original entry on oeis.org

3, 4, 5, 10, 40
Offset: 1

Views

Author

Alexander Adamchuk, Oct 18 2007

Keywords

Crossrefs

Cf. A124297 (5*F(n)^2 + 5*F(n) + 1, where F(n) = Fibonacci(n)).
Cf. A124296 (5*F(n)^2 - 5*F(n) + 1, where F(n) = Fibonacci(n)).

Programs

  • Mathematica
    Do[ F=Fibonacci[n]; f=5*F^2-5*F+1; g=5*F^2+5*F+1; If[ PrimeQ[f], If[ PrimeQ[g], Print[ {n,f,g} ] ] ], {n,1,1000} ]