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.

A274693 Numbers n such that 4^n + 3^(n+1) is prime.

Original entry on oeis.org

1, 2, 4, 5, 9, 10, 12, 17, 18, 29, 30, 40, 58, 82, 113, 129, 164, 192, 252, 524, 624, 766, 977, 1742, 2208, 2440, 3052, 4742, 5480, 16572, 17501
Offset: 1

Views

Author

Robert Price, Jul 02 2016

Keywords

Comments

a(32) > 10^5.

Examples

			5 is a member since 4^5 + 3^6 = 1024 + 729 = 1753 which is a prime number.
		

Crossrefs

Programs

  • Magma
    [n: n in [1..700] | IsPrime(4^n + 3^(n+1))]; // Vincenzo Librandi, Jul 03 2016
  • Mathematica
    Select[Range[0, 100000], PrimeQ[4^# + 3^(# + 1)] &]
  • PARI
    lista(nn) = for(n=1, nn, if(ispseudoprime(4^n + 3^(n+1)), print1(n, ", "))); \\ Altug Alkan, Jul 02 2016