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.

A267094 Primes p such that p*2^p + p + 2 is also prime.

This page as a plain text file.
%I A267094 #41 Sep 08 2022 08:46:15
%S A267094 3,5,11,17,31,43,139,173,3709,161923
%N A267094 Primes p such that p*2^p + p + 2 is also prime.
%C A267094 Primes p such that A069229(n)+2 is prime. - _Michel Marcus_, Jan 12 2016
%C A267094 a(11) > 612649. - _Robert Price_, May 22 2016
%e A267094 p=11: ((2^11)*11)+11+2 = 22541 (is prime).
%t A267094 Select[Prime[Range[4000]], PrimeQ[# 2^# + # + 2] &] (* _Vincenzo Librandi_, Jan 19 2016 *)
%o A267094 (PARI) lista(nn) = forprime(p=2, nn, if(ispseudoprime(p*2^p + p + 2), print1(p, ", "))); \\ _Altug Alkan_, Jan 12 2016
%o A267094 (Magma) [p: p in PrimesUpTo(200) | IsPrime(p*2^p+p+2)]; // _Vincenzo Librandi_, Jan 19 2016
%Y A267094 Cf. A069229.
%K A267094 nonn,hard,more
%O A267094 1,1
%A A267094 _Emre APARI_, Jan 11 2016
%E A267094 a(10) from _Giovanni Resta_, Apr 10 2016