login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073510 Number of primes less than 10^n with initial digit 8. 23
0, 2, 17, 127, 1003, 8326, 71038, 618610, 5481646, 49221187, 446590932, 4087194991, 37677478288, 349465615584, 3258501713644, 30522628848972, 287059041039078, 2709339704446862, 25652489700275636, 243571629996128384, 2318640708958531064, 22123070798400775157 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(2)=2 because there are 2 primes up to 10^2 whose initial digit is 8 (namely 83 and 89).
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}]
CROSSREFS
A006880(n) = A073509(n)+ ... + A073516(n)+A073517(n-1).
For primes with initial digit d (1 <= d <= 9) see A045707, A045708, A045709, A045710, A045711, A045712, A045713, A045714, A045715; A073517, A073516, A073515, A073514, A073513, A073512, A073511, A073510, A073509
Sequence in context: A161128 A220403 A097716 * A291390 A007354 A180840
KEYWORD
base,hard,nonn
AUTHOR
Shyam Sunder Gupta, Aug 14 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Aug 29 2002
a(20)-a(22) added by David Baugh, Mar 22 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 14:53 EDT 2024. Contains 372310 sequences. (Running on oeis4.)