|
| |
|
|
A106313
|
|
Differences between the prime-counting function and Gauss' approximation.
|
|
1
| |
|
|
1, 4, 9, 16, 37, 129, 338, 753, 1700, 3103, 11587, 38262, 108970, 314889, 1052618, 3214631, 7956588, 21949554, 99877774, 222744643, 597394253, 1932355207, 7250186215, 17146907277
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
REFERENCES
| Jonathan Borwein, David H. Bailey, "Mathematics by Experiment", A. K. Peters, 2004, p. 65 (Table 2.2).
|
|
|
FORMULA
| The prime counting function Pi(x) runs through x = 10^1, 10^2, 10^3...; being subtracted from Gauss' approximation, integral(2, x)dt/log t.
a(n) = A190802(n) - A006880(n).
|
|
|
EXAMPLE
| Given x = 10^4, Pi(x) = 1229, Gauss' approximation = 1245. Thus a(4) = 1245 - 1229 = 16.
|
|
|
CROSSREFS
| Sequence in context: A138858 A076967 A111378 * A074101 A034377 A034378
Adjacent sequences: A106310 A106311 A106312 * A106314 A106315 A106316
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Gary W. Adamson (qntmpkt(AT)yahoo.com), Apr 28 2005
|
|
|
EXTENSIONS
| a(23)-a(24) from Nathaniel Johnston (nathaniel(AT)nathanieljohnston.com), May 25 2011
|
| |
|
|