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”).
%I #18 Sep 08 2022 08:46:14
%S 2,5,13,41,89113
%N Prime p such that 2^p + 27 is also prime.
%C a(6) > 376790.
%F A000040 INTERSECT A157007.
%e Prime 5 is in sequence because 2^5 + 27 = 59, which is also prime.
%t Select[Prime[Range[100000]], PrimeQ[(2^# + 27)] &]
%o (PARI) forprime(p=2, 10^30, if (isprime(2^p + 3^3), print1(p", "))); \\ _Altug Alkan_, Oct 04 2015
%o (Magma) [p: p in PrimesUpTo(100) | IsPrime(2^p+27)]; // _Vincenzo Librandi_, Oct 05 2015
%Y Cf. A157007.
%Y Cf. similar sequences of the type "Primes p such that 2^p + k" listed in A262098.
%K nonn,more
%O 1,1
%A _Robert Price_, Oct 04 2015