login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=2..6.

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

Cf. A103111, A074967, A074966.

Sequence in context: A089041 A059511 A112676 * A064941 A112612 A129430

Adjacent sequences:  A103109 A103110 A103111 * A103113 A103114 A103115

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 1 17:45 EDT 2020. Contains 337444 sequences. (Running on oeis4.)