EconPapers    
Economics at your fingertips  
 

Prime Numbers

Stan Wagon ()
Additional contact information
Stan Wagon: Macalester College, Department of Mathematics and Computer Science

Chapter 2 in Mathematica in Action, 2010, pp 53-76 from Springer

Abstract: Abstract Many famous mathematicians have found relatively simple functions that model the behavior of π(x), the number of primes below x. This graph shows the error, up to one million, of three such approximations: Legendre and Chebyshev used logarithms (blue graph; beyond 1012, Chebyshev is better than Legendre), Gauss (red) used the integral of the reciprocal of the logarithm, and Riemann (green) enhanced Gauss’s integral with an infinite series. As an example of the power of such formulas, note that Gauss’s estimate for π(1018), $$\int_2^{10^{18}} {\frac{1}{{\log t}}dt}$$ is 24739954309690414 while the actual value is 24739954287740860; the relative error is about 1 part in a billion.

Keywords: Prime Number; Riemann Hypothesis; Fibonacci Number; Congruence Class; Prime Number Theorem (search for similar items in EconPapers)
Date: 2010
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-0-387-75477-2_3

Ordering information: This item can be ordered from
http://www.springer.com/9780387754772

DOI: 10.1007/978-0-387-75477-2_3

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-05-22
Handle: RePEc:spr:sprchp:978-0-387-75477-2_3