login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A262934
Prime p such that 2^p + 27 is also prime.
1
2, 5, 13, 41, 89113
OFFSET
1,1
COMMENTS
a(6) > 376790.
FORMULA
A000040 INTERSECT A157007.
EXAMPLE
Prime 5 is in sequence because 2^5 + 27 = 59, which is also prime.
MATHEMATICA
Select[Prime[Range[100000]], PrimeQ[(2^# + 27)] &]
PROG
(PARI) forprime(p=2, 10^30, if (isprime(2^p + 3^3), print1(p", "))); \\ Altug Alkan, Oct 04 2015
(Magma) [p: p in PrimesUpTo(100) | IsPrime(2^p+27)]; // Vincenzo Librandi, Oct 05 2015
CROSSREFS
Cf. A157007.
Cf. similar sequences of the type "Primes p such that 2^p + k" listed in A262098.
Sequence in context: A179264 A096724 A088553 * A149869 A149870 A149871
KEYWORD
nonn,more
AUTHOR
Robert Price, Oct 04 2015
STATUS
approved