A073510 Number of primes less than 10^n with initial digit 8.
0, 2, 17, 127, 1003, 8326, 71038, 618610, 5481646, 49221187, 446590932, 4087194991, 37677478288, 349465615584, 3258501713644, 30522628848972, 287059041039078, 2709339704446862, 25652489700275636, 243571629996128384, 2318640708958531064, 22123070798400775157
Offset: 1
Examples
a(2)=2 because there are 2 primes up to 10^2 whose initial digit is 8 (namely 83 and 89).
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[9*10^n] - PrimePi[8*10^n] + f[n - 1]; f[0] = 0; Table[ f[n], {n, 0, 12}]
Extensions
Edited and extended by Robert G. Wilson v, Aug 29 2002
a(20)-a(22) added by David Baugh, Mar 22 2015