login
This site is supported by donations to The OEIS Foundation.

 

Logo

The OEIS Foundation is grateful to everyone who made a donation during our Annual Appeal.     Visit the new and spectacular Pictures from the OEIS page!

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057835 Difference between pi(10^n) and the integer nearest to 10^n / log(10^n). 4
0, 3, 23, 143, 906, 6116, 44158, 332774, 2592592, 20758029, 169923159, 1416705193, 11992858452, 102838308636, 891604962452, 7804289844393, 68883734693928, 612483070893536, 5481624169369961, 49347193044659702, 446579871578168707, 4060704006019620994, 37083513766578631309, 339996354713708049069, 3128516637843038351228 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

REFERENCES

John H. Conway and R. K. Guy, "The Book of Numbers," Copernicus, an imprint of Springer-Verlag, NY, 1995, Page 146.

LINKS

Table of n, a(n) for n=1..25.

Wikipedia, Prime number theorem

FORMULA

a(n)=round[A006880(n)-A057834(n)] - Henry Bottomley, Aug 10 2005

a(n) ~ 10^n/(n log 10)^2. - Charles R Greathouse IV, Mar 22 2015

MATHEMATICA

Table[ PrimePi[10^n] - Round[ N[ 10^n/Log[ 10^n ] ] ], {n, 1, 13} ]

PROG

(PARI) a(n)=primepi(10^n)-round(10^n/log(10^n)) \\ Charles R Greathouse IV, Mar 22 2015

CROSSREFS

Sequence in context: A255952 A089950 A198797 * A232145 A079755 A197176

Adjacent sequences:  A057832 A057833 A057834 * A057836 A057837 A057838

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Nov 08 2000

EXTENSIONS

More terms from Jud McCranie, Jun 21 2005

Corrected and extended by Henry Bottomley, Aug 10 2005

a(22) to a(25) from Vladimir Pletser, Aug 10 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified February 13 10:11 EST 2016. Contains 268262 sequences.