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.

A262100 Primes p such that 2^p + 29 is also prime.

Original entry on oeis.org

3, 5, 7, 13, 17, 23, 37, 43, 73, 79, 89, 127, 239, 409, 2543, 10837, 24749, 29879, 181913
Offset: 1

Views

Author

Vincenzo Librandi, Sep 18 2015

Keywords

Comments

a(20) > 419637. - Robert Price, Oct 04 2015

Examples

			3 is in sequence because 2^3 + 29 = 37 is prime.
5 is in sequence because 2^5 + 29 = 61 is prime.
		

Crossrefs

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

Programs

  • Magma
    [p: p in PrimesUpTo(1000) | IsPrime(2^p+29)];
    
  • Mathematica
    Select[Prime[Range[1000]], PrimeQ[2^# + 29] &]
  • PARI
    for(n=1, 1e3, if(isprime((2^prime(n))+29), print1(prime(n)", "))) \\ Altug Alkan, Sep 18 2015
    
  • Perl
    use ntheory ":all"; use Math::GMP ":constant"; forprimes { say if is_prob_prime(2**$+29) } 1e4; # _Dana Jacobsen, Oct 03 2015

Extensions

a(17)-a(18) from Dana Jacobsen, Oct 03 2015
a(19) derived from A156982 by Robert Price, Oct 04 2015