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!)
A103111 Smallest natural number m such that n^n^n + m is prime. 1
1, 1, 16, 75, 2994, 96545 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
a(5)=2994 because 5^5^5 + 2994 is prime and 5^5^5 + k is composite for 0<k<2994.
PROG
(PARI) a(n)=(x->nextprime(x)-x)(n^n^n) \\ Charles R Greathouse IV, Nov 25 2014
CROSSREFS
Sequence in context: A212690 A244835 A189949 * A118862 A118532 A253691
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 April 19 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)