The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A202766 Floor( 10^n / sum(k=3..10^n, 1/k ) ). 1
6, 27, 167, 1206, 9442, 77563, 658097, 5714972, 50503822, 452425909, 4097411586, 37441633014, 344698955565, 3193520274110, 29747746198318, 278407464679282, 2616351626277085, 24676888631241563, 233501199663256017, 2215874110986269907 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
n/(Sum_{k=3..n} 1/k) is a better approximation to pi(n) than Gauss' Li(n) for 15 < n < 2803.
REFERENCES
Wacław Sierpiński, Co wiemy, a czego nie wiemy o liczbach pierwszych. Warsaw: PZWS, 1961, p. 21.
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 1..200
Eric Weisstein's World of Mathematics, Prime Counting Function
Eric Weisstein's World of Mathematics, Prime Number Theorem
FORMULA
a(n) = floor((10^n)/(Sum_{k=3..10^n} 1/k)).
a(n) ~ 10^n/(log(10^n) + gamma - 3/2).
EXAMPLE
a(2) = 27 because (10^2)/(Sum_{k=3..100} 1/k) = 27.1195448585....
MATHEMATICA
lst = {}; Do[AppendTo[lst, Floor[10^n/(NIntegrate[(1 - x^10^n)/(1 - x), {x, 0, 1}, WorkingPrecision -> 20] - 1.5)]], {n, 13}]; lst
CROSSREFS
Sequence in context: A062512 A087297 A117336 * A144013 A318565 A092854
KEYWORD
nonn
AUTHOR
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 June 12 13:39 EDT 2024. Contains 373331 sequences. (Running on oeis4.)