login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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
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: A338262 A042579 A033090 * A362182 A046474 A056146
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:23 EDT 2024. Contains 371906 sequences. (Running on oeis4.)