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!)
A303371 Numbers k such that prime(k)^k + 2 is prime. 1

%I

%S 2,3,5,309

%N Numbers k such that prime(k)^k + 2 is prime.

%p select( n-> isprime(ithprime(n)^n + 2), [$(1..333)]) # _M. F. Hasler_, May 21 2018

%o (PARI) select( is(n)=ispseudoprime(prime(n)^n+2), [1..333])

%o L=500; for(n=1,oo, is(n)&&print1(n","); n<L||print1([n])||L+=500)

%Y Cf. A304856.

%K nonn,hard,more

%O 1,1

%A _M. F. Hasler_, May 19 2018

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 February 19 09:55 EST 2020. Contains 332041 sequences. (Running on oeis4.)