1 Estimating Primes

Theorem (Euler). p1p=.

Proof. Consider pN=pN(1+1p+1p2++1pN), for N={1,2,3,}. We have:

pNn=1N1nn=1N1nn+1dtt=1N1dtt=log(N1)

On the other hand, using 1+xex, so

pNpNexp(1p+1p2++1pN)=exp(pN(1p+1p2++1pN))exp(pN(1p+1p2p))exp(C+pN1p)

Comparing these two bounds gives

pN1p log log (N1)C.

Then letting N gives the desired result.

Theorem (Chebyshev’s Theorem).

π(x)cxlogx

(for x2, where c is an absolute constant).

Proof. Consider

SN=2NN=(2N)!(N!)2

for N. We have

SNj=02N2Nj=(1+1)2N=4N.

On the other hand,

SN=p2Npαp(N)

where αp(N) is the largest j such that pj|2NN. We have αp(N)=1 for p(N,2N]. So

(log4)NN<p2N log p.

Take N=x2, for x2. Hence

x<p2x log p( log 4)x2+ log x( log 4)x2+ log 4+ log x.

Then

px0j log x log 2(( log 4)x2j+2+ log x)(telescoping summation, take x2,x22,x23,)(log4)x+( log x)2+1

So for x2 and a suitable large enough constant c, we have

px( log 4)x+c( log x)2.

Hence

x( log x)2<px log p(log4)x+c( log x)2logx( log x)2(π(x)π(x( log x)2))(log4)x+c( log x)2π(x)x(logx)2+(log4)x log x( log x)2+c( log x)2 log x( log x)2(log4+𝜀)x log x

for any 𝜀, as long as xx(𝜀).

Take 𝜀=1. Choose c>0 large enough.

1.1 Asymptotic Notation

Definition 1.1 (Big O and little o notation). Let f,g,h:S, S.

Write f(x)=O(g(x)) if there is c>0 such that |f(x)|c|g(x)| for all xS.

Write f(x)=o(g(x)) if for any 𝜀>0 there is x𝜀>0 such that |f(x)|𝜀|g(x)| for xS, |x|x𝜀.

Write f(x)=g(x)+O(h(x)) if f(x)g(x)=O(h(x)) and write f(x)=g(x)+o(h(x)) if f(x)g(x)=o(h(x)).

Definition 1.2 (Vinogradov notation). Let f,g,h:S, S.

Write f(x)g(x) or g(x)f(x) if f(x)=O(g(x)).

Example.

Lemma. Let f,g,h,u:S.

Proof. Follows from the definition in a straightforward way. Example:

1.2 Partial Summation

Lemma 1.3 (Partial Summation). Assuming that:

  • (an)n are complex numbers

  • xy0

  • f:[y,x] is continuously differentiable

Then
y<nxanf(n)=A(x)f(x)A(y)f(y)yxA(t)f(t)dt,

where for t1, we define

A(t)=ntan=n=1tan.

Proof. It suffices to prove the y=0 case, since then

y<nxanf(n)=0<nxanf(n)0<nyanf(n).

Suppose y=0. By the fundamental theorem of calculus,

f(n)=f(x)nxf(t)dt=0xf(t)𝟙[n,x](t)dt.

Summing over nx, we get

nxanf(n)=A(x)f(x)0xf(t)(nx𝟙[n,x](t)an)dt=A(x)f(x)0xf(t)A(t)dt

Lemma. If x1, then

nx1n= log x+γ+O(1x),

where γ is Euler’s constant, which is given by γ=limNk=1N1k log N.

Proof. Apply Partial Summation with an=1, f(t)=1t, y=12. Clearly A(t)=t. Then,

nx1n=xx+1xtt2dt=x+O(1)x+1xt{t}t2dt=1+O(1x)+logx1x{t}t2dt=1+logx1{t}t2dt+O(1x)

The last equality is true since x{t}t2dtx1t2dt=1x.

Let γ=11{t}t2dt. Then we have the asymptotic equation as desired.

Taking x in the formula, we see that γ is equal to the formula for Euler’s constant, as desired.

Lemma. For x1,

px1p=1xπ(t)t2dt+O(1).

Proof. Apply Lemma 1.3 with an=𝟙(n) (where is the set of primes), f(t)=1t, and y=1.

We get A(t)=π(t), and then

px1p=π(x)x+1xπ(t)t2dt=1xπ(t)t2dt+O(1)

1.3 Arithmetic Functions and Dirichlet convolution

Definition (Arithmetic function). An arithmetic function is a function f:.

Definition (Multiplicative). An arithmetic function f is multiplicative if f(1)=1 and f(mn)=f(m)f(n) whenever m,n are coprime.

Moreover, f is completely multiplicative if f(mn)=f(m)f(n) for all m,n.

Example.

On the space of arithmetic functions, we have operations:

(f+g)(n)=f(n)+g(n)(fg)(n)=f(n)g(n)(fg)(n)=Dirichlet convolution

Definition (Dirichlet convolution). For f,g:, we define

(fg)(n)=d|nf(d)g(nd),

where d|n means sum over the divisors of n.

Lemma 1.4. The space of arithmetic functions with operations +, is a commutative ring.

Proof. Since arithmetic functions with + form an abelian group, it suffices to show:

Proofs:

Lemma. The set of arithmetic functions f with f(1)0 form an abelian group with operation .

Proof. Need g such that fg=I.

(fg)(1)=f(1)g(1)=1g(1)=1f(1).

Assume g(m) defined for m<n. We will defined g(n).

(fg)(n)=g(n)f(1)+d|nd1f(d)g(nd)g(n)=1f(1)d|nd1f(d)g(nd)<n

Lemma. Multiplicative arithmetic functions form an abelian group with . Moreover, for completely multiplicative f, the Dirichlet inverse is μf.

Proof. For the first part, suffices to show closedness. Let f,g: be multiplicative, and m,n coprime.

If mn=ab, we can write a=a1a2, b=b1b2 where a1=(a,m), a2=(a,n), b1=(b,m) and b2=(b,n). Therefore we have:

(fg)(mn)=mn=abf(a)g(b)=m=a1b1n=a2b2f(a1a2)g(b1b2)(above observation)=m=a1b1n=a2b2f(a1)f(a2)g(b1)g(b2)(by multiplicativity)=(fg)(m)(fg)(n)

(also need to check that inverses are multiplicative).

Now, remains to show that for completely multiplicative f, fμf=I.

Note that fμf is multiplicative by the first part. So enough to show (fμf)(pk)=I(pk) for prime powers pk. Calculate:

fμf(p)=f(p)+μf(p)=f(p)f(p)=0=I(p)

and for k2:

fμf(pk)=f(pk)+μf(p)f(pk1)=f(pk)f(p)f(pk1)=f(p)kf(p)f(p)k1=0=I(pk)

Example. τk(n)=n=n1nk1. Then

τk=111k times.

So τk is multiplicative by the previous result.

Definition (von Mangoldt function). The von Mangoldt function Λ: is

Λ(n)={logpif n=pk for some prime p0otherwise

Then log=1Λ since

logn= log p|npαp(n)=p|nαp(n) log p=1Λ(n).

Since μ is the inverse of 1, we have

logμ=1Λμ=Λ1μ=ΛI=Λ.

1.4 Dirichlet Series

For a sequence (an)n, we want to associate a generating function that gives information of (an)n. Might consider

(an)nn=1anxn.

If we do this, then pxp is hard to control. So this is not very useful.

The following series has nicer number-theoretic properties:

Definition (Formal series). For f:, define a (formal) series

Df(s)=n=1f(n)ns

for s.

Lemma. Assuming that:

  • f: satisfying |f(n)|no(1)

Then Df(s) converges absolutely for Re(s)>1 and defines an analytic function for Re(s)>1.

Proof. Let 𝜀>0 (fixed), n and Re(s)>1+2𝜀.

Then

n=N|f(n)ns|=n=N|f(n)|nRe(s)n=Nn𝜀Re(s)n=Nn1𝜀N1𝜀+n=N+1n1nt1𝜀dtN1𝜀+Nt1𝜀dtN𝜀

Hence we have absolute convergence for Re(s)>1+2𝜀. Also, Df(s) is a uniform limit of the functions n=1Nf(n)ns. From complex analysis, a uniform limit of analytic functions is analytic. Hence Df(s) is analytic for Re(s)>1+2𝜀.

Now let 𝜀0.

Theorem (Euler product). Assuming that:

Then
Df(s)=p(1+f(p)p2+f(p2)p2s+),

for Re(s)>1. Furthermore, if f is completely multiplicative, then

Df(s)=p(1f(p)ps)1,

for Re(s)>1.

Proof. Let N, Re(s)=σ>1. Let

Df(s,N)=pN(1+f(p)ps+f(p2)p2s+).

Note that the series defining the factors are absolutely convergent, since

k=1|f(pk)||pks|k=11pks<

(geometric series).

Therefore, multiplying out,

Df(s,N)=n=1a(n,N)f(n)ns

where

a(n,N)=#{ways to write n as a product of prime powers, where the primes are N}.

The fundamental theorem of arithmetic tells us that a(n,N){0,1} and a(n,N)=1 for nN.

Now,

|Df(S)Df(s,N)|n=N+1|f(n)||ns|n=N+1nσN0

(since n=1nσ<). Hence Df(s)=limNDf(s,N).

Finally, for f completely multiplicative, use geometric formula:

k=1f(p)kpks=11f(p)ps.

Lemma. Assuming that:

  • f,g:

  • |f(n)|,|g(n)|no(1)

Then
Dfg(s)=Df(s)Dg(s)

for Re(s)>1.

Proof. We know Df(s) and Dg(s) are absolutely convergent, so can expand out the product.

Df(s)Dg(s)=a,b=1f(a)g(b)(ab)s=n=1n=abf(a)g(b)ns=n=1(fg)(n)ns=Dfg(s)

Definition (Riemann zeta function). For Re(s)>1, define

ζ(s)=n=1ns.

Example.

Dirichlet hyperbola method

Problem: How many lattice points (a,b)2 satisfy abx?

PIC

Note that this number is nxτ(n)=abx1.

Dirichlet proved that for x2,

nxτ(n)=x log x+(2γ1)x+O(x12)

where γ is Euler’s constant.

We will see a proof of this shortly.

Conjecture: Can have O𝜀(x14+𝜀). Current best exponent is 0.314.

First, we prove a lemma:

Lemma (Dirichlet hyperbola method). Assuming that:

  • f,g:

  • xy1

Then
nx(fg)(n)=dyf(d)mxdg(m)+mxyg(m)y<dxmf(d).

Proof. nx(fg)(n)=dmxf(d)g(m). Split this sum into parts with dy and d>y to get the conclusion.

Theorem 1.5 (Dirichlet’s divisor problem). For x2,

nxτ(n)=x log x+(2γ1)x+O(x12)

where γ is Euler’s constant.

Proof. We use the Dirichlet hyperbola method, with y=x12. Note that τ=11. Then,

nxτ(n)=dx12mxd1+mx12x12<dxm1=xx12(xd+O(1))+mx12(xmx12+O(1))=xdx121d+xmx121mmx12x12+O(x12)

Recall from Lecture 2 that

dy1d= log y+γ+O(1y).

Taking y=x12, the previous expression becomes

2×(12logx+γ+O(1x12))x+O(x12)=xlogx+(2γ1)x+O(x12).