home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!sdd.hp.com!mips!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!messua!dak
- From: dak@messua.informatik.rwth-aachen.de (David Kastrup)
- Subject: Re: Primes
- Message-ID: <dak.714053928@messua>
- Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
- Nntp-Posting-Host: messua
- Organization: Rechnerbetrieb Informatik / RWTH Aachen
- References: <1992Aug17.160252.10145@waikato.ac.nz>
- Date: 17 Aug 92 12:18:48 GMT
- Lines: 19
-
- bill@waikato.ac.nz writes:
-
- >How many primes are there less than 2 to the power of p?
-
- >Is there a way of calculating this, or does anyone know of where I can get my
- >hands on a list of primes so I can find out how many primes there are
- >less than 2^16 or 2^32 for example?
-
- >Is there some way of determining (or estimating) the expected magnitude of the
- >nth prime? Or of the growth of the difference between the nth and (n+1)th
- >prime?
-
- The number of primes up to~$n$ is called $\pi(n)$. There are approximations
- in the mathematic world to this function. See number theoretic treatises
- (the function~$\phi$ has similar flavour). If I remember right, one
- approximation was~$n\ln n$, but there might have been a constant factor.
-
- Don't flame this inaccuracy, see Concrete Methematics by Graham, Knuth,
- Patashnik for sensibly understandable treatise of this matters and others.
-