A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Primes in Arithmetic Progressions (Dirichlet's Theorem)

Research Depth 84 in the knowledge graph ☐ I know this ☆ Set as goal
18topics build on this
391prerequisites beneath it
See this on the map →
Dirichlet Series and L-Functions→→Wilson's Theorem
dirichlet-theorem arithmetic-progressions primes

Core Idea

Dirichlet's theorem states that if gcd(a, q) = 1, the arithmetic progression a, a+q, a+2q, ... contains infinitely many primes with asymptotic density 1/φ(q). The proof uses non-vanishing of L(1, χ) and represents a major application of analytic number theory to elementary problems.

Explainer

The question sounds elementary: among the infinitely many integers in an arithmetic progression like 1, 5, 9, 13, 17, ..., do infinitely many happen to be prime? The answer — yes, whenever the common difference and first term share no factor — was proved by Dirichlet in 1837, but the proof required tools far beyond elementary number theory. Understanding it connects your knowledge of Dirichlet series and L-functions to a concrete structural claim about primes.

The strategy mirrors Euler's proof that there are infinitely many primes overall. Euler observed that the divergence of Σ1/p (summing over primes) can be derived from the product formula for the Riemann zeta function ζ(s) = Πₚ(1 − p^−s)^−1. To isolate primes in a specific residue class mod q, Dirichlet introduced Dirichlet characters χ mod q — completely multiplicative functions that are periodic mod q and orthogonal to one another. These characters act like indicator functions: using the orthogonality relation Σ_{χ} χ(a)-1 χ(n) = φ(q) when n ≡ a (mod q) and 0 otherwise, you can isolate the contribution of primes in any given residue class.

This produces a sum involving Dirichlet L-functions L(s, χ) = Σ_{n=1}^∞ χ(n)/ns. Like ζ(s), each L-function has an Euler product over primes, and the behavior near s = 1 controls whether the corresponding sum of 1/p over primes in the residue class diverges. For the principal character χ₀, L(s, χ₀) essentially equals ζ(s) up to a finite factor and therefore diverges as s → 1. For non-principal characters, the crucial step is showing L(1, χ) ≠ 0. If any L(1, χ) were zero, the contribution from the target residue class would be finite — meaning only finitely many primes in that class — contradicting the full divergence when all characters are combined. The non-vanishing proof is the technical heart of the theorem and the point where complex analysis becomes unavoidable.

The asymptotic density result is equally important: primes are equidistributed among all φ(q) valid residue classes mod q, each class containing 1/φ(q) of all primes (in the sense of natural density). For example, among all primes, exactly half are ≡ 1 (mod 4) and half ≡ 3 (mod 4) — primes ending in digit 1 and digit 3 in base 4 occur with equal frequency. This equidistribution is a deep regularity hidden behind the apparent irregularity of primes, and it is the prototype for more general equidistribution results in analytic number theory including the Chebotarev density theorem.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Proof by Cases → Proving by Cases and Exhaustion → Vacuous Truth and Trivial Cases → Proof by Cases (Proof by Exhaustion) → Mathematical Induction → Divisibility and Greatest Common Divisor → The Fundamental Theorem of Arithmetic → Divisibility Theory (Formal Treatment) → Fundamental Theorem of Arithmetic (Rigorous Proof) → Arithmetic Functions and Multiplicativity → Dirichlet Series and L-Functions → Primes in Arithmetic Progressions (Dirichlet's Theorem) → Distribution of Primes → Introduction to the Riemann Zeta Function → Dirichlet Series and L-Functions → Primes in Arithmetic Progressions (Dirichlet's Theorem)

Longest path: 85 steps · 391 total prerequisite topics

Prerequisites (1)

Leads To (1)