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-FunctionsWilson'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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesSet Operations: Union, Intersection, and ComplementProof by CasesProving by Cases and ExhaustionVacuous Truth and Trivial CasesProof by Cases (Proof by Exhaustion)Mathematical InductionDivisibility and Greatest Common DivisorThe Fundamental Theorem of ArithmeticDivisibility Theory (Formal Treatment)Fundamental Theorem of Arithmetic (Rigorous Proof)Arithmetic Functions and MultiplicativityDirichlet Series and L-FunctionsPrimes in Arithmetic Progressions (Dirichlet's Theorem)Distribution of PrimesIntroduction to the Riemann Zeta FunctionDirichlet Series and L-FunctionsPrimes in Arithmetic Progressions (Dirichlet's Theorem)

Longest path: 85 steps · 391 total prerequisite topics

Prerequisites (1)

Leads To (1)