The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A103112 Smallest natural number m such that n^n^n - m is a prime. 1
3, 26, 569, 10978, 106843 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
EXAMPLE
a(5)=10978 because 5^5^5 - 10978 is a prime and 5^5^5 - k is composite for 0<k<10978.
PROG
(PARI) a(n)=(x->x-precprime(x))(n^n^n) \\ Charles R Greathouse IV, Nov 25 2014
CROSSREFS
Sequence in context: A089041 A059511 A112676 * A064941 A112612 A129430
KEYWORD
hard,more,nonn
AUTHOR
Farideh Firoozbakht, Mar 04 2005
EXTENSIONS
a(6) from Donovan Johnson, Mar 06 2008
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 May 27 06:20 EDT 2024. Contains 372848 sequences. (Running on oeis4.)