A037062 a(n)-th prime is the smallest prime containing exactly n 5's.
1, 3, 102, 733, 14319, 45741, 1004275, 3313338, 169807396, 259770566, 20255937351, 21366409911, 196256438549, 10949682060338, 16876678891444, 1376534319069676, 13702579963679833, 13947379867469643, 360360819534753751, 3421022095727840569, 93257415087729395138, 113268191247939457737
Offset: 0
Links
- Andrew R. Booker, The Nth Prime Page.
- Kim Walisch, primecount, Fast prime counting function library.
Crossrefs
Programs
-
Mathematica
(* see A037063 for f *) PrimePi[ Table[ f[n, 5], {n, 1, 12}]]
Formula
Extensions
a(0)=1 prepended by Sean A. Irvine, Dec 06 2020
a(13)-a(21) calculated using Kim Walisch's primecount and added by Amiram Eldar, Jul 20 2025