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.

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

Original entry on oeis.org

0, 2, 6, 34, 282, 3662, 87206
Offset: 1

Views

Author

Robert Price, Jul 03 2016

Keywords

Comments

a(8) > 10^5.

Examples

			6 is a member since 5^6 + 4^7 = 15625 + 16384 = 32009 which is a prime number.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 100000], PrimeQ[5^# + 4^(# + 1)] &]
  • PARI
    lista(nn) = for(n=0, nn, if(ispseudoprime(5^n + 4^(n+1)), print1(n, ", "))); \\ Altug Alkan, Jul 03 2016