login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054321 Smallest prime greater than 5^n. 4
2, 7, 29, 127, 631, 3137, 15629, 78137, 390647, 1953151, 9765629, 48828139, 244140683, 1220703131, 6103515637, 30517578167, 152587890649, 762939453127, 3814697265637, 19073486328181, 95367431640673, 476837158203149 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Robert Israel, Table of n, a(n) for n = 0..143

MAPLE

seq(nextprime(5^n), n=0..100); # Robert Israel, May 19 2014

MATHEMATICA

NextPrime[ n_Integer] := (k = n + 1; While[ !PrimeQ[k], k++ ]; k); Table[ NextPrime[5^n], {n, 0, 22} ] (* Mathematica 5 and below *)

NextPrime[5^Range[0, 25]] (* Mathematica 6; from Harvey P. Dale, Jun 19 2011 *)

PROG

(PARI) a(n)=nextprime(5^n+1) \\ Charles R Greathouse IV, Jun 19 2011

CROSSREFS

Cf. A014210, A014211.

Sequence in context: A278391 A126568 A150663 * A150664 A193040 A200755

Adjacent sequences:  A054318 A054319 A054320 * A054322 A054323 A054324

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Aug 14 2001

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 February 22 15:46 EST 2019. Contains 320399 sequences. (Running on oeis4.)