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.

A262099 Primes p such that 2^p + 17 is also prime.

Original entry on oeis.org

13, 769, 4441, 184189
Offset: 1

Views

Author

Vincenzo Librandi, Sep 18 2015

Keywords

Comments

a(5) > 5*10^5. - Robert Price, Sep 18 2015
A000040 INTERSECT A057200. - Robert Price, Sep 18 2015

Examples

			13 is in sequence because 2^13 + 17 = 8209 is prime.
		

Crossrefs

Subsequence of primes of A057200.
Cf. similar sequences listed in A262098.

Programs

  • Magma
    [p: p in PrimesUpTo(1000) | IsPrime(2^p+17)];
    
  • Mathematica
    Select[Prime[Range[1000]], PrimeQ[2^# + 17] &]
  • PARI
    for(n=1, 1e3, if(isprime((2^prime(n))+17), print1(prime(n)", "))) \\ Altug Alkan, Sep 18 2015