A073514 Number of primes less than 10^n with initial digit 4.
0, 3, 20, 139, 1069, 8747, 74114, 641594, 5661135, 50653546, 458352691, 4185483176, 38510936699, 356622729564, 3320632228693, 31067060521057, 291869049531878, 2752144407792176, 26035873192178041, 247025281876786013, 2349914303292170310, 22407593754131275705
Offset: 1
Examples
a(2)=3 because there are 3 primes up to 10^2 whose initial digit is 4 (namely 41, 43 and 47).
Links
- Thomas R. Nicely, Some Results of Computational Research in Prime Numbers [See local copy in A007053]
- Tomás Oliveira e Silva, Tables of values of pi(x) and of pi2(x)
Crossrefs
Programs
-
Mathematica
f[n_] := f[n] = PrimePi[5*10^n] - PrimePi[4*10^n] + f[n - 1]; f[0] = 0; Table[ f[n], {n, 0, 13}]
Extensions
Edited and extended by Robert G. Wilson v, Aug 29 2002
a(20)-a(22) added by David Baugh, Mar 22 2015