Question #143553
Let π(N) be the number of primes less than or equal to N (example: π(100) = 25). The famous prime number theorem then states (with ∼ meaning asymptotically equal):
π(N) ∼ N/ log(N)
Proving this theorem is very hard. However, we can derive a statistical form of the prime number theorem. For this, we consider random primes which are generated as follows:
(i) Create a list of consecutive integers from 2 to N.
1
Expert's answer
2020-11-18T18:37:53-0500

By Euclid's theorem, we know that there exist infinitely many primes. Of course, this means that π is an increasing function and that π(x)→ ∞ as x→ ∞. Intuitively we see that prime numbers appear to be more sporadic as they become larger, but we would like to describe more precisely the asymptotic behavior of π. This is formalized by the following famous theorem.


Theorem: (Prime number theorem). Let π be the prime counting function and log be the natural logarithm. Then agood asymptotic approximation of π is given by the functionLet\ π\ be\ the\ prime\ counting\ function\ and\ log\ be\ the\ natural\ logarithm.\ Then\ a\\ good\ asymptotic\ approximation\ of\ π\ is\ given\ by\ the\ function


(i) Create a list of consecutive integers from 22 to NN .

(ii) Start with 22 and mark every number >2>2 with a probability of 12\frac12 .

(iii) Let nn be the next non-marked number. Mark every number >n>n with a probability of 1n\frac1n .

(iv) Repeat (iii)(iii) until you have reached NN .

All the non-marked numbers in the list are called random primesrandom\ primes .

(a) Let qnq_n be the probability of nn being selected as a random prime during this algorithm. Find an expression for qnq_n in terms of qn1q_n−1 .


(b) Prove the following inequality of qnq_n and qn+1:q_n+1:

qnnlog nqnn=log log n1+log log n2log n(log log n)26log log n+112(log n)2+0(1(log n)2)q_n ∼ nlog\ n\\ \frac{q_n}{n}=log\ log\ n-1+\frac{log\ log\ n-2}{log\ n}- \frac{(log\ log\ n)^2-6log\ log\ n+11}{2(log\ n)^2}+0(\frac{1}{(log\ n)^2})\\

Again considering the 2×1017th2×10^{17}th prime number 8 512 677 386 048 191 063, this gives an estimate of 8 512 681 315 554 715 386; the first 5 digits match and relative error is about 0.00005%.

Rosser's theorem states that;

pn>nlogn.{\displaystyle p_{n}>n\log n.}


This can be improved by the following pair of bounds:

log n+log log n1<qnn<log n+log log n, n6    1qn+1n<1qn+1<1qn+1n1\therefore log\ n+log\ log\ n-1<\frac{q_n}{n}<log\ n + log\ log\ n,\ \forall n \geq 6\\ \implies \frac{1}{q_n}+\frac{1}{n}< \frac{1}{q_n+1}<\frac{1}{q_n}+\frac{1}{n-1}


(c) Use the result from (b)(b) to show this inequality:

pkx,k2log ppkWhich can be bounded by;plog pk=2N1pk2log pp2<Hence    k=1N1k<iqN<k=1N1k+1\sum_{p^k \leq x,\\ k \geq2} \frac{log\ p}{p^k}\\ Which\ can\ be\ bounded\ by;\\ \sum_{p}log\ p\sum_{k=2}^N \frac{1}{p^k} \leq 2 \sum \frac{log\ p}{p^2}<\infty\\ Hence\\ \implies \sum_{k=1}^N \frac{1}{k}<\frac{i}{q_N}<\sum_{k=1}^N \frac{1}{k}+1

(d) With this result, derive an asymptotic expression for qnq_n in terms of nn .


qnnlog nq_n ∼ nlog\ n\\

(e) Let π~(N)\widetilde π(N) be the number of random primesrandom\ primes less than or equal to NN . Use the result from (d)(d) to derive an asymptotic expression for π~(N)\widetilde π(N) , i.e. the prime number theorem for random primes.random\ primes.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS