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.

Showing 1-1 of 1 results.

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

Original entry on oeis.org

3, 11, 25, 341, 1827, 2581, 4475, 11157, 41141, 64721
Offset: 1

Views

Author

Robert Price, Apr 27 2016

Keywords

Comments

a(11) > 10^5.

Examples

			3 is a member since 5^3 - 4^2 = 125 - 16 = 109 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
Showing 1-1 of 1 results.