Square-root error term for primes in arithmetic progressions

Unlocked AI-classified Analytic number theory

Not yet human-checked. Classified by an AI system from its reading of the literature. No human expert has checked this entry yet. Treat the status as a draft, not as settled.

Statement

For a coprime to q and q at most x, the weighted count of primes up to x that are congruent to a modulo q equals x / phi(q) with an error of O(sqrt(x) (log x)^2).

ψ(x;q,a)=xφ(q)+O ⁣(x (log⁡x)2)(gcd⁡(a,q)=1, q≤x)\psi(x; q, a) = \frac{x}{\varphi(q)} + O\!\left(\sqrt{x}\,(\log x)^2\right) \qquad (\gcd(a,q) = 1,\ q \le x)

What it needs

  • GRH-Dirichlet GRH for Dirichlet L-functions Covered by the claim

    Every non-trivial zero of every Dirichlet L-function has real part 1/2. Dirichlet L-functions are built from characters of the integers modulo q and control how primes are distributed among residue classes.

Status and why

Unlocked

Every hypothesis this result needs is covered by the announced proof. It follows from that proof, and stands or falls with it.

Every hypothesis listed above (GRH-Dirichlet) is covered by the announced proof.

Sources

  1. Survey or reference H. Davenport (revised by H. L. Montgomery) (2000). Multiplicative Number Theory, 3rd edition. Springer, Graduate Texts in Mathematics 74.
    Hypothesis used at: Chapter 20

Review

Review state
AI-classified Classified by an AI system from its reading of the literature. No human expert has checked this entry yet. Treat the status as a draft, not as settled.
Confidence
high
Lean
Not formalized yet.
Added
21 November 2026

Open questions

  • The chapter reference is quoted from memory.

Suggest a correction I checked this entry

Related entries

primes arithmetic-progressions