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.

A262962 Prime p such that 2^p + 35 is also prime.

Original entry on oeis.org

3, 5, 7, 11, 263, 509, 1087, 26263, 348437
Offset: 1

Views

Author

Robert Price, Oct 05 2015

Keywords

Comments

A000040 INTERSECT A220077.

Examples

			For p=3, 2^3 + 35 = 43, which is prime.
		

Crossrefs

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

Programs

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