login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A267094 Primes p such that p*2^p + p + 2 is also prime. 0
3, 5, 11, 17, 31, 43, 139, 173, 3709, 161923 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes p such that A069229(n)+2 is prime. - Michel Marcus, Jan 12 2016

a(11) > 612649. - Robert Price, May 22 2016

LINKS

Table of n, a(n) for n=1..10.

EXAMPLE

p=11: ((2^11)*11)+11+2 = 22541 (is prime).

MATHEMATICA

Select[Prime[Range[4000]], PrimeQ[# 2^# + # + 2] &] (* Vincenzo Librandi, Jan 19 2016 *)

PROG

(PARI) lista(nn) = forprime(p=2, nn, if(ispseudoprime(p*2^p + p + 2), print1(p, ", "))); \\ Altug Alkan, Jan 12 2016

(MAGMA) [p: p in PrimesUpTo(200) | IsPrime(p*2^p+p+2)]; // Vincenzo Librandi, Jan 19 2016

CROSSREFS

Cf. A069229.

Sequence in context: A108542 A006450 A085918 * A336372 A146622 A124179

Adjacent sequences:  A267091 A267092 A267093 * A267095 A267096 A267097

KEYWORD

nonn,hard,more

AUTHOR

Emre APARI, Jan 11 2016

EXTENSIONS

a(10) from Giovanni Resta, Apr 10 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 05:26 EDT 2021. Contains 343030 sequences. (Running on oeis4.)