A037054 a(n)-th prime is the smallest prime containing exactly n 1's.
1, 6, 5, 187, 1242, 9682, 86538, 733339, 5821735, 56196114, 503193257, 4161915701, 41621368333, 383118399789, 3549047966306, 33056584174792, 309353882119895, 2651938403956789, 27417323062119921, 27417323062119920, 2461813897281353902, 23422580231698331842
Offset: 0
Links
- Andrew R. Booker, The Nth Prime Page.
- Kim Walisch, primecount, Fast prime counting function library.
Crossrefs
Programs
-
Mathematica
(* see A037055 for f *) PrimePi[ Table[ f[n, 1], {n, 1, 13}]]
Formula
Extensions
a(0)=1 prepended by Sean A. Irvine, Dec 06 2020
a(14)-a(21) calculated using Kim Walisch's primecount and added by Amiram Eldar, Jul 20 2025