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.
%I A069592 #23 May 22 2025 10:21:34 %S A069592 5,53,503,5003,50021,500009,5000011,50000017,500000003,5000000029, %T A069592 50000000021,500000000023,5000000000053,50000000000053, %U A069592 500000000000057,5000000000000023,50000000000000051,500000000000000021 %N A069592 Smallest prime in which the n-th significant digit is a 5. %H A069592 Abhiram R Devesh, <a href="/A069592/b069592.txt">Table of n, a(n) for n = 1..100</a> %p A069592 5,seq(nextprime(5*10^j),j=1..32); %t A069592 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 *) %t A069592 Join[{5},NextPrime[5*10^Range[20]]] (* _Harvey P. Dale_, May 15 2016 *) %o A069592 (Python) %o A069592 import sympy %o A069592 i=0 %o A069592 print(5) %o A069592 i=i+1 %o A069592 while i > -1: %o A069592 a=5*(10**i) %o A069592 p=sympy.nextprime(a) %o A069592 print(p) %o A069592 i=i+1 %o A069592 ## _Abhiram R Devesh_, Jul 31 2014 %o A069592 (PARI) a(n) = nextprime(5*10^n); \\ _Michel Marcus_, Aug 07 2014 %Y A069592 Cf. A069588, A069589, A069590, A069591. %K A069592 base,nonn %O A069592 1,1 %A A069592 _Amarnath Murthy_, Mar 25 2002 %E A069592 More terms from _Sascha Kurz_, Mar 28 2002