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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A303371 Numbers k such that prime(k)^k + 2 is prime. 1
2, 3, 5, 309 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MAPLE

select( n-> isprime(ithprime(n)^n + 2), [$(1..333)]) # M. F. Hasler, May 21 2018

PROG

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

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

CROSSREFS

Cf. A304856.

Sequence in context: A042067 A042579 A033090 * A046474 A056146 A115835

Adjacent sequences:  A303368 A303369 A303370 * A303372 A303373 A303374

KEYWORD

nonn,hard,more

AUTHOR

M. F. Hasler, May 19 2018

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 January 17 23:37 EST 2020. Contains 330995 sequences. (Running on oeis4.)