[go: up one dir, main page]

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!)
A093865 a(1) = 2, a(n) = least prime > a(n-1)^n. 0
2, 5, 127, 260144663, 1191446656198440121121655815832664828439647 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(6) has 253 digits and is too large to include. - Emeric Deutsch, Feb 04 2006
LINKS
EXAMPLE
a(3)=127 because a(2)^3=125 and the least prime greater than 125 is 127.
MAPLE
a:= proc(n) option remember; if n=1 then 2 else nextprime(a(n-1)^n) fi end: seq(a(n), n=1..6); # Emeric Deutsch, Feb 04 2006
MATHEMATICA
nxt[{n_, a_}]:={n+1, NextPrime[a^(n+1)]}; NestList[nxt, {1, 2}, 5][[All, 2]] (* Harvey P. Dale, Nov 15 2018 *)
CROSSREFS
Sequence in context: A214648 A175978 A092922 * A139129 A139484 A088271
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 20 2004
EXTENSIONS
More terms from Emeric Deutsch, Feb 04 2006
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 August 30 02:56 EDT 2024. Contains 375521 sequences. (Running on oeis4.)