The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A069592 Smallest prime in which the n-th significant digit is a 5. 6
 5, 53, 503, 5003, 50021, 500009, 5000011, 50000017, 500000003, 5000000029, 50000000021, 500000000023, 5000000000053, 50000000000053, 500000000000057, 5000000000000023, 50000000000000051, 500000000000000021 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Abhiram R Devesh, Table of n, a(n) for n = 1..100 MAPLE 5, seq(nextprime(5*10^j), j=1..32); MATHEMATICA a069592[n_Integer] := Module[{f}, f[1] = 5; f[i_] := NextPrime[5*10^(i - 1)]; f[n]]; Map[a069592, Range[100]] (* Michael De Vlieger, Aug 06 2014 *) Join[{5}, NextPrime[5*10^Range[20]]] (* Harvey P. Dale, May 15 2016 *) PROG (Python) import sympy i=0 print(5) i=i+1 while i > -1: ....a=5*(10**i) ....p=sympy.nextprime(a) ....print(p) ....i=i+1 ## Abhiram R Devesh, Jul 31 2014 (PARI) a(n) = nextprime(5*10^n); \\ Michel Marcus, Aug 07 2014 CROSSREFS Cf. A069588, A069589, A069590, A069591. Sequence in context: A221236 A198963 A293082 * A065534 A186206 A123788 Adjacent sequences:  A069589 A069590 A069591 * A069593 A069594 A069595 KEYWORD base,nonn AUTHOR Amarnath Murthy, Mar 25 2002 EXTENSIONS More terms from Sascha Kurz, Mar 28 2002 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.

Last modified April 6 08:44 EDT 2020. Contains 333268 sequences. (Running on oeis4.)