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.

A262934 Prime p such that 2^p + 27 is also prime.

Original entry on oeis.org

2, 5, 13, 41, 89113
Offset: 1

Views

Author

Robert Price, Oct 04 2015

Keywords

Comments

a(6) > 376790.

Examples

			Prime 5 is in sequence because 2^5 + 27 = 59, which is also prime.
		

Crossrefs

Cf. A157007.
Cf. similar sequences of the type "Primes p such that 2^p + k" listed in A262098.

Programs

  • Magma
    [p: p in PrimesUpTo(100) | IsPrime(2^p+27)]; // Vincenzo Librandi, Oct 05 2015
  • Mathematica
    Select[Prime[Range[100000]], PrimeQ[(2^# + 27)] &]
  • PARI
    forprime(p=2, 10^30, if (isprime(2^p + 3^3), print1(p", "))); \\ Altug Alkan, Oct 04 2015
    

Formula

A000040 INTERSECT A157007.