

A303371


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


1




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<Lprint1([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



