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.

A272366 Numbers n such that 5^n-4^(n+1) is prime.

Original entry on oeis.org

7, 25, 29, 55, 75, 243, 345, 635, 899, 2025, 2105, 2295, 5057, 5155, 5209, 11115, 81743, 97615
Offset: 1

Views

Author

Robert Price, Apr 27 2016

Keywords

Comments

a(19) > 10^5.

Examples

			7 is a member since 5^7 - 4^8 = 78125 - 65536 = 12589 which is a prime number.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 100000], PrimeQ[5^# - 4^(# + 1)] &]
  • PARI
    is(n)=ispseudoprime(5^n-4^(n+1)) \\ Charles R Greathouse IV, Jun 13 2017