login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
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
Table of n, a(n) for n=1..6.
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
Cf.
A103112
,
A074966
,
A074967
.
Sequence in context:
A212690
A244835
A189949
*
A118862
A118532
A253691
Adjacent sequences:
A103108
A103109
A103110
*
A103112
A103113
A103114
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 November 29 09:44 EST 2023. Contains 367429 sequences. (Running on oeis4.)