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!)
A095302 Smallest prime of the form k^n+2 with k>1. 4
3, 5, 11, 29, 83, 59051, 3518743763, 4782971, 6563, 2357947693, 59051, 8649755859377, 282429536483, 2541865828331, 4782971, 14348909, 6568408355712890627, 762939453127, 150094635296999123, 15398217140735709790332844752065729, 332525673007965087890627 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
a(5)=59051 because 9^5+2 is prime whereas 3^5+2=5*7^2,5^5+2=53*59 and
7^5+2=3*13*431 are composite.
MATHEMATICA
sp[n_]:=Module[{k=2}, While[!PrimeQ[k^n+2], k++]; k^n+2]; Array[sp, 30, 0] (* Harvey P. Dale, Feb 22 2012 *)
CROSSREFS
Cf. A087576 smallest k such that k^n+2 is prime, A095303 smallest k such that k^n-2 is prime, A095304 corresponding primes.
Sequence in context: A080443 A168607 A057735 * A335367 A000101 A253899
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jun 01 2004
EXTENSIONS
More terms from Harvey P. Dale, Feb 22 2012
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 24 15:42 EDT 2024. Contains 371960 sequences. (Running on oeis4.)