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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 10 17:31 EST 2016. Contains 279005 sequences.