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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

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

Content is available under The OEIS End-User License Agreement .

Last modified February 17 18:11 EST 2012. Contains 206061 sequences.