cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A098681 Largest prime smaller than n^n.

Original entry on oeis.org

3, 23, 251, 3121, 46649, 823541, 16777213, 387420479, 9999999967, 285311670569, 8916100448237, 302875106592241, 11112006825557999, 437893890380859323, 18446744073709551557, 827240261886336764159, 39346408075296537575359
Offset: 2

Views

Author

Olaf Voß, Oct 27 2004

Keywords

Crossrefs

Programs

  • 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 *)