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!)
A098681 Largest prime smaller than n^n. 6
3, 23, 251, 3121, 46649, 823541, 16777213, 387420479, 9999999967, 285311670569, 8916100448237, 302875106592241, 11112006825557999, 437893890380859323, 18446744073709551557, 827240261886336764159, 39346408075296537575359 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
MATHEMATICA
PrimePrev[n_]:=Module[{k}, k=n-1; While[ !PrimeQ[k], k-- ]; k]; f[n_]:=n^n; lst={}; Do[AppendTo[lst, PrimePrev[f[n]]], {n, 30}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 25 2010 *)
Table[NextPrime[n^n, -1], {n, 2, 20}] (* Harvey P. Dale, Dec 02 2017 *)
CROSSREFS
Sequence in context: A151433 A199750 A318004 * A118790 A159017 A004700
KEYWORD
easy,nonn
AUTHOR
Olaf Voß, Oct 27 2004
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 16 12:05 EDT 2024. Contains 371711 sequences. (Running on oeis4.)