Posted on

Table of Contents

Infinitely Many Primes

Theorem 1

In the ring Z\Z, there are infinitely many prime numbers.

Proof:

Consider a series of positive prime number [p1,p2...pn][p_1,p_2...p_n] where pnp_n is the largest prime number.

We shall have p=(p1p2p3...pn)+1>1p=(p_1p_2p_3...p_n)+1 > 1. And p is not divisible by any prime number in list.

So either pp is yet another prime number larger than pnp_n, or pp can be divide by a prime larger than pp. By any case, we can have a larger prime given a largest prime yet.

Actually, in any Euclidean Domain, there are infinitely many primes (irreducible).

Consider a pZp \in \Z as a prime and a set of rational number a/b,pba/b, p\nmid b as Zp\Z_p. Zp\Z_p shall be a ring and when pap\nmid a, a/ba/b will be a unit.

Therefore, there is only one prime in Zp\Z_p and in form of pc/dpc/d where c/dc/d is a unit.

If a/bZpa/b \in \Z_p and not a unit, a/b+1a/b+1 shall be a unit.

Proof:

Since a/ba/b is not a unit, so we can write a=plaa=p^l*a' where pap\nmid a'.

So a/b+1=(a+1)/b=(pla+1)/pa/b+1=(a+1)/b = (p^la'+1)/p. Obviously p(pla+1)p\nmid(p^la'+1). So (a+1)/b(a+1)/b is a unit.

Square Free

Proposition 1

An integer aZa\in\Z is said to be square free if it is not divisible by the square of any other integer except 1.

If nZn\in\Z can be written in form of n=ab2n=ab^2, where a,bZa,b\in\Z and a is square-free.

Proof:

Consider a=p1r1p2r2...plrla = p_1^{r_1}p_2^{r_2}...p_l^{r_l} and r is either 0 or 1. b=p1b1p2b2...plblb = p_1^{b_1}p_2^{b_2}...p_l^{b_l}.

Then n=ab2=i=1n(pi2bi+ri)n=ab^2=\prod_{i=1}^n(p_i^{2b_i+r_i}). Since 2bi+ri2b_i+r_i can represent any integer, so proved.

Divisor function

Define ν(n)\nu(n) as the number of positive divisors of n and σ(n)\sigma(n) as the sum of positive divisors of n.

Let a be a positive integer, n=p1a1p2a2...plaln=p_1^{a_1}p_2^{a_2}...p_l^{a_l}​ as its prime decomposition. ν(n)=(a1+1)(a2+1)...(al+1) \nu(n)=(a_1+1)(a_2+1)...(a_l+1)

σ(n)=((p1a1+11)/(p11))((p2a2+11)/(p21))...((plal+11)/(pl1)) \sigma(n)=((p_1^{a_1+1}-1)/(p_1-1))((p_2^{a_2+1}-1)/(p_2-1))...((p_l^{a_l+1}-1)/(p_l-1))

Proof:

A divisor is in form of m=p1b1p2b2...plblm=p_1^{b_1}p_2^{b_2}...p_l^{b_l} where 0biai0\leq b_i\leq a_i for i=1,2,...,li=1,2,...,l. So the number of combination shall be (a1+1)(a2+1)...(al+1)(a_1+1)(a_2+1)...(a_l+1). σ(n)=p1b1p2b2...plbl=b1=0a1p1b1b2=0a2p2b2...bl=0alplbl \sigma(n)=\sum p_1^{b_1}p_2^{b_2}...p_l^{b_l}=\sum_{b_1=0}^{a_1}p_1^{b_1}\sum_{b_2=0}^{a_2}p_2^{b_2}...\sum_{b_l=0}^{a_l}p_l^{b_l}

Perfect

This problem is related to Mersenne Prime. A perfect number is defined as σ(n)=2n\sigma(n)=2n. If a Mersenne prime 2m+1=12^{m+1}=1 is a prime, 2m(2m+11)2^m(2^{m+1}-1) will be perfect.

For multiplicative perfect, σ(n)=n2\sigma(n)=n^2. So it is obvious that iff there are 2 divisors. For example, cube of prime or products of 2 distinct prime.

Möbius function

For nZ+n\in\Z^+, Möbius function μ(1)=1,μ(n)=0\mu(1)=1,\mu(n)=0 if nn is not square-free. And μ(p1p2...pn)=(1)n\mu(p_1p_2...p_n)=(-1)^n.

That is:

  • If n is a square-free positive integer and even number of prime factors, μ(n)=1\mu(n)=1;
  • If n is a square-free positive integer and odd number of prime factors, μ(n)=1\mu(n)=-1;
  • If n has a squared prime factor,μ(n)=0\mu(n)=0.

Proposition 2

If n>1n>1 and dnμ(d)=0\sum_{d|n}\mu(d)=0.

Proof:

Let n=p1a1p2a2...plaln=p_1^{a_1}p_2^{a_2}...p_l^{a_l}. For those factors ai>1a_i > 1, it will turn to be zero. So we can consider: n=p1p2p3...pl n=p_1p_2p_3...p_l Then consider number of different type of d as α(i)\alpha(i). For example, α(1)\alpha(1) is the number of d that only formed by 1 prime factor. α(i)=(li) \alpha(i) = {l \choose i} And the μ(d)\mu(d) of those type of d are all the same: μ(di)=(1)i \mu(d_i) = (-1)^i So, our sum shall be: dnμ(d)=i=0l(1)i(li) \sum_{d|n}\mu(d)=\sum_{i=0}^l(-1)^i{l \choose i}

dnμ(d)=1(l1)+(l2)(l3)...(1)l(ll)=0 \sum_{d|n}\mu(d)=1-{l \choose 1}+{l \choose 2} - {l \choose 3} ...(-1)^l{l \choose l} = 0

Dirichlet Convolution

The Dirichlet convolution of f,gf,g is defined by the formular fg(n)=f(d1)g(d2)f*g(n)=\sum f(d_1)g(d_2), where the sum is over all pair of (d1,d2)(d_1,d_2) which d1d2=nd_1d_2=n.

It is obvious that the Dirichlet product is associative and communitive.

Define I\Bbb{I} that I(1)=1\Bbb{I}(1)=1 and I(n)=0\Bbb{I}(n)=0 for n>1n>1. Then, fI=If=ff*\Bbb{I}=\Bbb{I}*f=f. Define I(n)=1I(n)=1 for nZ+n\in\Z^+.

Lemma 1

Iμ=μI=II*\mu=\mu*I=\Bbb{I}

Proof:

For n=1n=1, it is obvious. For n>1n>1, μI(n)=dnμ(d)=0\mu*I(n)=\sum_{d|n}\mu(d)=0 by Proposition 2.

Theorem 2

Let F(n)=dnf(d)F(n)=\sum_{d|n}f(d). Then f(n)=dnμ(d)F(n/d)f(n)=\sum_{d|n}\mu(d)F(n/d).

Proof:

By definition, F=If(n)F=I*f(n). As we know: f(n)=fI=f(Iμ)=(fI)μ=Fμf(n)=f*\Bbb{I}=f*(I * \mu)=(f*I)*\mu=F*\mu.

This theorem works in any abelian group. This law also works when written multiplicatively. F(n)=dnf(d)    f(n)=dnF(n/d)μ(d) F(n)=\prod_{d|n}f(d) \implies f(n)=\prod_{d|n}F(n/d)^{\mu(d)}

Euler's totient function

Define Euler ϕ\phi function that for nZ+n\in\Z^+, ϕ\phi is the number of relatively prime number between 1 to prime.

Proposition 2

dnϕ(d)=n\sum_{d|n}\phi(d)=n

Proof:

Consider a series of rational number 1n,2n...nn\frac{1}{n},\frac{2}{n}...\frac{n}{n}.

Put them into lowest term, we shall see, all the fraction with n as denominator are in number of ϕ(n)\phi(n). And for each factor d of n, there will be ϕ(d)\phi(d) number fractions. So all fraction can be split into subsets of size ϕ(d)\phi(d) for all d that dnd|n.

Proposition 3

ϕ(n)=n(11p1)(11p2)...(11pl)\phi(n)=n(1-\frac{1}{p_1})(1-\frac{1}{p_2})...(1-\frac{1}{p_l}) for n=p1a1p2a2...plaln=p_1^{a_1}p_2^{a_2}...p_l^{a_l}

Proof:

By mobius inversion theorem (Theorem 2), we shall see ϕ(n)=dnμ(d)nd \phi(n)=\sum_{d|n}\mu(d)\frac{n}{d}

ϕ(n)=ninpi+i,jnpipji,j,knpipjpk...(1)l1,2,3,...lnp1p2...pl \phi(n)=n-\sum_{i}\frac{n}{p_i}+\sum_{i,j}\frac{n}{p_ip_j}-\sum_{i,j,k}\frac{n}{p_ip_jp_k}...(-1)^l\sum_{1,2,3,...l}\frac{n}{p_1p_2...p_l}

Sum of 1/p Diverges

Prove 1p\sum\frac{1}{p} diverges where p is positive prime.

Proof:

Consider a function λ(n)=p11p1 \lambda(n) = \prod_{p}\frac{1}{1-p^{-1}} Where p are primes less than n.

Then take log on both side: logλ(n)=plog(1p1) \log{\lambda(n)}=-\sum_p\log(1-p^{-1}) Expand log with Tylor Series: logλ(n)=pi1ipi \log\lambda(n)=\sum_p\sum_i^{\infin}\frac{1}{ip^{i}} This can be consider as: logλ(n)=p1p+12p1p2... \log\lambda(n)=\sum_p\frac{1}{p}+\frac{1}{2}\sum_p\frac{1}{p^2}... This first part is what we need.

Since 1n2\sum\frac{1}{n^2} converges, so p1p2\sum_p\frac{1}{p^2} converges too, as same as the rest parts.

For each part of λ(n)\lambda(n), 11p1>1\frac{1}{1-p^-1} > 1 so when nn\to\infin, λ(n)\lambda(n)\to\infin, as well as logλ(n)\log{\lambda(n)}\to\infin.

So the first part of logλ(n)\log{\lambda(n)} must diverges.

The same proof works for k[x]k[x]. We need to consider prime as monic irreducible polynomials and the size of monic polynomial by qdegf(x)q^{\text{deg}f(x)}