Dirichlet's Theorem on Primes in Arithmetic Progression

Abstract

The fact that there are infinitely many primes is one of the oldest and most fundamental results in number theory. This result extends to arithmetic progressions of the form a,a+q,a+2q,…a, a + q, a + 2q, \ldots, where aa and qq are coprime. Dirichlet’s theorem states that any such progression contains infinitely many primes. In this talk, we discuss tools from analytic number theory, including Dirichlet characters and LL-functions, and sketch a proof of Dirichlet’s theorem.

Introduction

Dirichlet’s theorem on primes in arithmetic progressions (roughly) states:

Dirichlet’s theorem (initial statement). Let a,qa, q be natural numbers such that (a,q)=1(a, q) = 1. Then the sequence a,a+q,a+2q,…a, a + q, a + 2q, \ldots contains infinitely many primes.

Here the notation (a,b)(a,b) is the same as gcd⁡(a,b)\gcd(a,b). This is a remarkable result! However, to prove it, we will need to state it in a slightly different manner. Consider the following:

Let a,qa,q be natural numbers which are coprime. Then

∑p≡a (mod q)log⁡pp=∞.\sum_{p \equiv a\,(\mathrm{mod}\,q)} \frac{\log p}{p} = \infty.

By convention, we only allow pp to be a prime in analytic number theory. So this theorem states that the sum of log⁡(p)/p\log(p)/p over all primes which are congruent to aa modulo qq, i.e., are part of the sequence a,a+q,a+2q,…a, a + q, a + 2q, \ldots, is infinite.

This directly implies that the number of such primes is infinite, since if the number of primes were finite then the sum would be over a finite set and thus would trivially be finite. This is the formulation of Dirichlet’s theorem for which we will sketch a proof.

We introduce a few preliminaries, define Dirichlet characters and LL-functions and prove some facts about them, and finally sketch the proof of Dirichlet’s theorem.

Important functions

Write s=σ+its=\sigma+it, where σ,t∈R\sigma,t\in\mathbb{R}. The Riemann zeta function is defined on the half-plane σ>1\sigma>1 as

ζ(s)=∑n=1∞n−s.\zeta(s) = \sum_{n=1}^{\infty} n^{-s}.

This sum converges absolutely. It can also be expressed as the Euler product

ζ(s)=∏p prime(1−1ps)−1.\zeta(s) = \prod_{p\text{ prime}} \left(1 - \frac{1}{p^s}\right)^{-1}.

Definition 2 (von Mangoldt function). The von Mangoldt function is the arithmetic function Λ(n)\Lambda(n) defined as

Λ(n)={log⁡pif n=pk for some prime p,0otherwise.\Lambda(n) = \begin{cases} \log p & \text{if } n=p^k \text{ for some prime } p, \\ 0 & \text{otherwise}. \end{cases}

Dirichlet characters

We now begin the study of the actual objects involved in analytic number theory which lead to the proof of Dirichlet’s theorem.

Definition 3 (Dirichlet character modulo mm). For any positive integer mm, a Dirichlet character modulo mm is a function χ:Z→C\chi:\mathbb{Z}\to\mathbb{C} which satisfies the following conditions.

  1. χ\chi is completely multiplicative, i.e., χ(ab)=χ(a)χ(b)\chi(ab)=\chi(a)\chi(b) for every a,b∈Za,b\in\mathbb{Z},
  2. χ(a)=0\chi(a)=0 if and only if (a,m)>1(a,m)>1, and
  3. χ\chi is periodic with period mm, i.e., χ(a)=χ(a+m)\chi(a)=\chi(a+m) for every a∈Za\in\mathbb{Z}.

One observes that the values of χ\chi are determined uniquely by those integers which are between 00 and mm and are coprime to mm; this gives rise to an alternative characterization of Dirichlet characters of which the above is a special case.

Definition 4 (Character on a group). Let GG be a finite abelian group. Then a character of the group GG is a group homomorphism χ:G→C×\chi:G\to\mathbb{C}^{\times}.

Clearly, we see that a character modulo mm can be viewed as a special case of this construction by letting G=(Z/mZ)×G=(\mathbb{Z}/m\mathbb{Z})^{\times} and, letting χ\chi be the group character, defining χ′:Z→C\chi':\mathbb{Z}\to\mathbb{C} to be

χ′(n)={χG(n‾)if (n,m)=1,0otherwise,\chi'(n) = \begin{cases} \chi_G(\overline{n}) & \text{if } (n,m)=1, \\ 0 & \text{otherwise}, \end{cases}

where n‾\overline{n} is the equivalence class mod mm to which nn maps. It is not hard to see that this relationship defines a one-to-one correspondence between the set of group characters of (Z/mZ)×(\mathbb{Z}/m\mathbb{Z})^{\times} and the set of Dirichlet characters mod mm.

Remark. Recall that (Z/mZ)×(\mathbb{Z}/m\mathbb{Z})^{\times}, sometimes denoted UmU_m, is the multiplicative group of the numbers between 00 and mm which are coprime to mm. It has order ϕ(m)\phi(m), where ϕ\phi is Euler’s totient function.

Remark. Notice that if GG has order nn, then for every x∈Gx\in G and χ∈G^\chi\in\widehat{G}, it holds that χ(x)\chi(x) is an nn-th root of unity, since 1=χ(1)=χ(xn)=(χ(x))n1=\chi(1)=\chi(x^n)=(\chi(x))^n.

Definition 5. For any group GG (likewise any modulus mm), we always have a character which maps all values of the group to 11 (likewise maps all values coprime to mm to 11 and all other values to 00). This character, known as the trivial character, is denoted χ0\chi_0. The set of all characters of a group GG is denoted as G^\widehat{G}.

We can define a multiplication on G^\widehat{G} by letting

(χaχb)(x)=χa(x)χb(x).(\chi_a\chi_b)(x)=\chi_a(x)\chi_b(x).

Observe that this makes G^\widehat{G} an abelian group—commutativity and associativity follow because C×\mathbb{C}^{\times} has those properties. The trivial character is an identity element, and given a character χ\chi, we can set its inverse χ‾\overline{\chi} such that

χ‾(x)=χ(x)‾,\overline{\chi}(x)=\overline{\chi(x)},

where z‾\overline{z} is the complex conjugate of zz. It is not hard to show that χ‾\overline{\chi} is also a character, and showing that it is the inverse of χ\chi can be done by exploiting the fact that multiplicative inverses of roots of unity are their complex conjugates.

Let χ\chi be a character of a group GG which is cyclic with order nn and generator aa. Then the elements of G^\widehat{G} can be identified with values of kk for k∈{0,1,2,…,n−1}k\in\{0,1,2,\ldots,n-1\} such that

χk(am)=e(km/n)=e(2πikm)/n.\chi_k(a^m)=e(km/n)=e^{(2\pi i k m)/n}.

Moreover, in this case G≅G^G\cong\widehat{G}.

Consider an arbitrary character χ\chi. We know aa generates GG, and that χ(a)\chi(a) is an nn-th root of unity. So we know it is of the form e(k/n)e(k/n) for some kk. But since χ\chi is a group homomorphism we know for every mm that χ(am)=e(k/n)m=e(km/n)\chi(a^m)=e(k/n)^m=e(km/n). Hence every character is of this form, and since we see that kk wholly describes the value χ\chi takes at every point, the elements of G^\widehat{G} correspond to the set {0,1,…,n−1}\{0,1,\ldots,n-1\}.

Further, notice that, for arbitrary α,β∈{0,1,…,n−1}\alpha,\beta\in\{0,1,\ldots,n-1\},

(χαχβ)(am)=e(αm/n)⋅e(βm/n)=e((α+β)m/n)=χα+β(am).\begin{aligned} (\chi_\alpha\chi_\beta)(a^m) &=e(\alpha m/n)\cdot e(\beta m/n) \\ &=e((\alpha+\beta)m/n) \\ &=\chi_{\alpha+\beta}(a^m). \end{aligned}

From this it follows that G^≅((Z/nZ),+)\widehat{G}\cong((\mathbb{Z}/n\mathbb{Z}),+), which is cyclic with order nn. Immediately it follows that G^≅G\widehat{G}\cong G since there is only one cyclic group of any given order (up to isomorphism).

Let GG be a finite abelian group which is the direct product of two groups, i.e., G=G1×G2G=G_1\times G_2. Then, for every character χ1\chi_1 of G1G_1 and χ2\chi_2 of G2G_2, we can define a character of GG as χ((x1,x2))=χ1(x1)χ2(x2)\chi((x_1,x_2))=\chi_1(x_1)\chi_2(x_2). Any character χ\chi of GG can likewise be decomposed into unique characters of G1G_1 and G2G_2.

This is Lemma 4.3 of [MV06]. The proof is omitted here for brevity.

Corollary 3.1. Let GG be a cyclic group of order nn. Then the following identities hold. For every character χ∈G^\chi\in\widehat{G},

∑x∈Gχ(x)={nif χ=χ0,0otherwise,\sum_{x\in G}\chi(x)=\begin{cases} n & \text{if } \chi=\chi_0, \\ 0 & \text{otherwise}, \end{cases}

and for every x∈Gx\in G,

∑χ∈G^χ(x)={nif x=e,0otherwise,\sum_{\chi\in\widehat{G}}\chi(x)=\begin{cases} n & \text{if } x=e, \\ 0 & \text{otherwise}, \end{cases}

where ee is the identity in GG. These identities follow from the enumeration of characters using the set {0,…,n−1}\{0,\ldots,n-1\}.

Since every finite abelian group can be written as the direct product of some cyclic groups and due to Theorem 3, we can extend the results above to noncyclic groups (alternatively, we can use the Chinese remainder theorem). In particular, we know that G≅G^G\cong\widehat{G} for every finite abelian group. Further, we know the following.

Consider the group (Z/mZ)×(\mathbb{Z}/m\mathbb{Z})^{\times}, which has order ϕ(m)\phi(m). Then, for every character χ∈(Z/mZ)×^\chi\in\widehat{(\mathbb{Z}/m\mathbb{Z})^{\times}},

∑x∈(Z/mZ)×χ(x)={ϕ(m)if χ=χ0,0otherwise,\sum_{x\in(\mathbb{Z}/m\mathbb{Z})^{\times}}\chi(x)=\begin{cases} \phi(m) & \text{if } \chi=\chi_0, \\ 0 & \text{otherwise}, \end{cases}

and for every x∈(Z/mZ)×x\in(\mathbb{Z}/m\mathbb{Z})^{\times},

∑χ∈(Z/mZ)×^χ(x)={ϕ(m)if x=1,0otherwise.\sum_{\chi\in\widehat{(\mathbb{Z}/m\mathbb{Z})^{\times}}}\chi(x)=\begin{cases} \phi(m) & \text{if } x=1, \\ 0 & \text{otherwise}. \end{cases}

Dirichlet LL-functions

Definition 6 (Dirichlet LL-function). Let χ\chi be a character modulo qq. Then the Dirichlet LL-function of χ\chi is defined in the half-plane σ>1\sigma>1 as

L(s,χ)=∑n=1∞χ(n)n−s.L(s,\chi)=\sum_{n=1}^{\infty}\chi(n)n^{-s}.

We know that this sum converges using a pp-series test since χ(n)\chi(n) is bounded (in particular it has absolute value at most 11) and the real part of ss is strictly greater than 11. In particular, we know it converges absolutely, so we are free to rearrange terms.

Notice that any nn over which we sum in the definition of the LL-function has a prime factorization. Furthermore, we know that χ\chi is completely multiplicative, so we can, in a sense, swap multiplication (of prime factors to make nn) and addition (of prime powers) in the given equation.

L(s,χ)=∏p prime(∑k=0∞χ(pk)pks)=∏p prime(∑k=0∞(χ(p)ps)k).L(s,\chi) =\prod_{p\text{ prime}}\left(\sum_{k=0}^{\infty}\frac{\chi(p^k)}{p^{ks}}\right) =\prod_{p\text{ prime}}\left(\sum_{k=0}^{\infty}\left(\frac{\chi(p)}{p^s}\right)^k\right).

Now notice that the product on the inside in the above equation is nothing but a geometric series. By using the formula for a geometric series, we thence arrive at the following formula for L(s,χ)L(s,\chi), known as the Euler product.

∴L(s,χ)=∏p prime(1−χ(p)ps)−1.\therefore L(s,\chi)=\prod_{p\text{ prime}}\left(1-\frac{\chi(p)}{p^s}\right)^{-1}.

Proof of Dirichlet’s theorem

We now use these tools to sketch the proof of Dirichlet’s theorem.

Fix some qq and consider the LL-function of the principal character mod qq. We have

L(s,χ0)=∑n=1∞χ0(n)n−s=∏p(1−χ0(p)ps)−1.L(s,\chi_0)=\sum_{n=1}^{\infty}\chi_0(n)n^{-s}=\prod_p\left(1-\frac{\chi_0(p)}{p^s}\right)^{-1}.

But since χ0(n)\chi_0(n) is one if nn and qq are coprime and zero otherwise, we can split sums and products according to whether their indices are coprime to qq.

∴L(s,χ0)=∑n=1(n,q)=1∞n−s.\therefore L(s,\chi_0)=\sum_{\substack{n=1\\(n,q)=1}}^{\infty}n^{-s}.

And similarly,

∴L(s,χ0)=(∏p∣q(1−χ(p)ps)−1)(∏p∤q(1−χ(p)ps)−1)=(∏p∣q(1−0ps)−1)(∏p∤q(1−1ps)−1)=∏p∤q(1−1ps)−1.\begin{aligned} \therefore L(s,\chi_0) &=\left(\prod_{p\mid q}\left(1-\frac{\chi(p)}{p^s}\right)^{-1}\right) \left(\prod_{p\nmid q}\left(1-\frac{\chi(p)}{p^s}\right)^{-1}\right) \\ &=\left(\prod_{p\mid q}\left(1-\frac{0}{p^s}\right)^{-1}\right) \left(\prod_{p\nmid q}\left(1-\frac{1}{p^s}\right)^{-1}\right) \\ &=\prod_{p\nmid q}\left(1-\frac{1}{p^s}\right)^{-1}. \end{aligned}

This is a much nicer form to work with, but we are still not quite done. Recall that

ζ(s)=∏p(1−1ps)−1,\zeta(s)=\prod_p\left(1-\frac{1}{p^s}\right)^{-1},

and thus

L(s,χ0)=ζ(s)∏p∣q(1−p−s).L(s,\chi_0)=\zeta(s)\prod_{p\mid q}(1-p^{-s}).

Now let χ≠χ0\chi\neq\chi_0. Let xx be arbitrary and let k,rk,r be the quotient and remainder respectively when dividing xx by qq. Then

∑1≤n≤xχ(n)=∑1≤n≤kqχ(n)+∑kq<n≤kq+rχ(n)=0+∑1≤n≤rχ(n),∴∣∑1≤n≤xχ(n)∣=∣∑1≤n≤rχ(n)∣≤∑1≤n≤r∣χ(n)∣≤∑1≤n≤r1<q,\begin{aligned} \sum_{1\leq n\leq x}\chi(n) &=\sum_{1\leq n\leq kq}\chi(n)+\sum_{kq<n\leq kq+r}\chi(n) \\ &=0+\sum_{1\leq n\leq r}\chi(n), \\ \therefore\left|\sum_{1\leq n\leq x}\chi(n)\right| &=\left|\sum_{1\leq n\leq r}\chi(n)\right| \\ &\leq\sum_{1\leq n\leq r}|\chi(n)| \\ &\leq\sum_{1\leq n\leq r}1<q, \end{aligned}

where the last inequality follows because 0≤r<q0\leq r<q.

Now, consider the logarithm of L(s,χ)L(s,\chi).

log⁡(L(s,χ))=log⁡(∏p(1−χ(p)ps)−1)=∑p−log⁡(1−χ(p)ps)=∑p∑k=1∞χ(p)kkpks.\begin{aligned} \log(L(s,\chi)) &=\log\left(\prod_p\left(1-\frac{\chi(p)}{p^s}\right)^{-1}\right) \\ &=\sum_p-\log\left(1-\frac{\chi(p)}{p^s}\right) \\ &=\sum_p\sum_{k=1}^{\infty}\frac{\chi(p)^k}{kp^{ks}}. \end{aligned}

Here the last equality arises from the Taylor series −log⁡(1−x)=∑k=1∞xk/k-\log(1-x)=\sum_{k=1}^{\infty}x^k/k for ∣x∣<1|x|<1.

Now, notice that we are essentially iterating over prime powers—this is a key area where the Von Mangoldt function is useful. In fact, we see that

log⁡(L(s,χ))=∑p∑k=1∞χ(p)kkpks=∑p∑k=1∞log⁡p⋅χ(p)klog⁡p⋅kpks=∑p∑k=1∞Λ(pk)⋅χ(pk)log⁡(pk)⋅(pk)s.\begin{aligned} \log(L(s,\chi)) &=\sum_p\sum_{k=1}^{\infty}\frac{\chi(p)^k}{kp^{ks}} \\ &=\sum_p\sum_{k=1}^{\infty}\frac{\log p\cdot\chi(p)^k}{\log p\cdot kp^{ks}} \\ &=\sum_p\sum_{k=1}^{\infty}\frac{\Lambda(p^k)\cdot\chi(p^k)}{\log(p^k)\cdot(p^k)^s}. \end{aligned}

If we instead choose to sum over n:=pkn:=p^k, we immediately see that

log⁡(L(s,χ))=∑n=2∞Λ(n)χ(n)nslog⁡(n),\log(L(s,\chi))=\sum_{n=2}^{\infty}\frac{\Lambda(n)\chi(n)}{n^s\log(n)},

and

ddslog⁡(L(s,χ))=L′L(s,χ)=−∑n=1∞Λ(n)χ(n)n−s.\frac{\mathrm{d}}{\mathrm{d}s}\log(L(s,\chi)) =\frac{L'}{L}(s,\chi) =-\sum_{n=1}^{\infty}\Lambda(n)\chi(n)n^{-s}.

Both formulae are valid for σ>1\sigma>1. The bounded partial sums above, together with partial summation, show that when χ≠χ0\chi\neq\chi_0, the Dirichlet series for L(s,χ)L(s,\chi) extends analytically to σ>0\sigma>0. For the principal character,

L(s,χ0)=ζ(s)∏p∣q(1−p−s)L(s,\chi_0)=\zeta(s)\prod_{p\mid q}(1-p^{-s})

has a simple pole at s=1s=1 with residue ϕ(q)/q\phi(q)/q.

Fix some a,qa,q which are coprime. Then

1ϕ(q)∑χ∈(Z/qZ)×^χ‾(a)χ(n)={1if n≡a(modq),0otherwise.\frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\overline{\chi}(a)\chi(n) =\begin{cases} 1 & \text{if } n\equiv a\pmod q, \\ 0 & \text{otherwise}. \end{cases}

If (n,q)>1(n,q)>1, every character modulo qq vanishes at nn, while n≢a(modq)n\not\equiv a\pmod q, so both sides are zero. Suppose now that (n,q)=1(n,q)=1, and define t:=na−1(modq)t:=na^{-1}\pmod q. Then t∈(Z/qZ)×t\in(\mathbb{Z}/q\mathbb{Z})^\times, and

1ϕ(q)∑χ∈(Z/qZ)×^χ‾(a)χ(n)=1ϕ(q)∑χ∈(Z/qZ)×^χ‾(a)χ(at)=1ϕ(q)∑χ∈(Z/qZ)×^χ(t).\begin{aligned} \frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\overline{\chi}(a)\chi(n) &=\frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\overline{\chi}(a)\chi(at) \\ &=\frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\chi(t). \end{aligned}

If nn and aa lie in the same residue class modulo qq, then t=1t=1; if not, then t≠1t\neq1. The result now follows from Theorem 4.

Let us use this identity to advance our goal. We use it as a “filter” in the following, combining several pieces from the previous steps:

∑n≡a (mod q)Λ(n)n−s=∑n=1∞Λ(n)n−s(1ϕ(q)∑χ∈(Z/qZ)×^χ‾(a)χ(n))=1ϕ(q)∑χ∈(Z/qZ)×^χ‾(a)∑n=1∞Λ(n)n−sχ(n)=−1ϕ(q)∑χ∈(Z/qZ)×^χ‾(a)L′L(s,χ).\begin{aligned} \sum_{n\equiv a\,(\mathrm{mod}\,q)}\Lambda(n)n^{-s} &=\sum_{n=1}^{\infty}\Lambda(n)n^{-s}\left( \frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\overline{\chi}(a)\chi(n)\right) \\ &=\frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\overline{\chi}(a) \sum_{n=1}^{\infty}\Lambda(n)n^{-s}\chi(n) \\ &=-\frac{1}{\phi(q)}\sum_{\chi\in\widehat{(\mathbb{Z}/q\mathbb{Z})^{\times}}}\overline{\chi}(a)\frac{L'}{L}(s,\chi). \end{aligned}

Consider the term of this sum where χ=χ0\chi=\chi_0. Since L(s,χ0)L(s,\chi_0) has a simple pole at s=1s=1, its logarithmic derivative L′/LL'/L has a simple pole there with residue −1-1. Hence the χ0\chi_0 term can be estimated as

−1ϕ(q)χ0‾(a)L′L(s,χ0)=1ϕ(q)(s−1)+O(1)-\frac{1}{\phi(q)}\overline{\chi_0}(a)\frac{L'}{L}(s,\chi_0) =\frac{1}{\phi(q)(s-1)}+O(1)

when ss approaches 1+1^+. Now, notice that for every other character, L(s,χ)L(s,\chi) is analytic at 11, so

lim⁡s→1+L(s,χ)=L(1,χ).\lim_{s\to1^+}L(s,\chi)=L(1,\chi).

A central nonvanishing theorem, whose proof we omit here, states that L(1,χ)≠0L(1,\chi)\neq0 whenever χ\chi is nonprincipal; see [MV06, Apo76]. Thus L′/L(s,χ)=O(1)L'/L(s,\chi)=O(1) as s→1+s\to1^+ for every nonprincipal χ\chi, and consequently

∑n≡a (mod q)Λ(n)ns=1ϕ(q)(s−1)+O(1)⟶∞.\sum_{n\equiv a\,(\mathrm{mod}\,q)}\frac{\Lambda(n)}{n^s} =\frac{1}{\phi(q)(s-1)}+O(1)\longrightarrow\infty.

Because all the terms are nonnegative, letting s→1+s\to1^+ allows us to conclude that

∑n≡a (mod q)Λ(n)n=∞,\sum_{n\equiv a\,(\mathrm{mod}\,q)}\frac{\Lambda(n)}{n}=\infty,

which is nothing but the sum over prime powers

∑n≡a(modq)n=pklog⁡ppk=∞.\sum_{\substack{n\equiv a\,(\mathrm{mod}\,q)\\n=p^k}}\frac{\log p}{p^k}=\infty.

Consider now the prime powers which contribute to this sum. Clearly

∑n≡a(modq)n=pk,k≥2log⁡ppk≤∑n=pkk≥2log⁡ppk≤∑p∑k≥2log⁡ppk=∑plog⁡p(∑k≥2p−k).\begin{aligned} \sum_{\substack{n\equiv a\,(\mathrm{mod}\,q)\\n=p^k,\,k\geq2}}\frac{\log p}{p^k} &\leq\sum_{\substack{n=p^k\\k\geq2}}\frac{\log p}{p^k} \\ &\leq\sum_p\sum_{k\geq2}\frac{\log p}{p^k} \\ &=\sum_p\log p\left(\sum_{k\geq2}p^{-k}\right). \end{aligned}

Observe that the inner sum is a geometric series with common ratio 1/p1/p and first term 1/p21/p^2. Hence, the total sum will be given as 1/(p(p−1))1/(p(p-1)).

∴∑n≡a(modq)n=pk,k≥2log⁡ppk≤∑plog⁡pp(p−1)≤∑n≥2log⁡nn(n−1).\begin{aligned} \therefore\sum_{\substack{n\equiv a\,(\mathrm{mod}\,q)\\n=p^k,\,k\geq2}}\frac{\log p}{p^k} &\leq\sum_p\frac{\log p}{p(p-1)} \\ &\leq\sum_{n\geq2}\frac{\log n}{n(n-1)}. \end{aligned}

The last sum converges by comparison with ∑n≥2(log⁡n)/n2\sum_{n\geq2}(\log n)/n^2. Thus the total contribution from higher prime powers, those with k≥2k\geq2, is finite. Hence,

∴∑p≡a (mod q)log⁡pp=∞,\therefore\sum_{p\equiv a\,(\mathrm{mod}\,q)}\frac{\log p}{p}=\infty,

completing the proof of the theorem.

References