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

%I #11 Sep 08 2022 08:46:14

%S 3,5,7,11,263,509,1087,26263,348437

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

%C A000040 INTERSECT A220077.

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

%t Select[Prime[Range[100000]], PrimeQ[(2^# + 35)] &]

%o (PARI) forprime(p=2, 10^30, if (isprime(2^p + 35), print1(p", "))); \\ _Altug Alkan_, Oct 05 2015

%o (Magma) [p: p in PrimesUpTo(700) | IsPrime(2^p+35)]; // _Vincenzo Librandi_, Oct 06 2015

%Y Cf. A220077.

%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 05 2015