For a positive integer , a Dirichlet character modulo is a group homomorphism , extended periodically to the integers and set equal to zero on integers not coprime to . Its nonzero values are roots of unity. For , its Dirichlet L-function is the absolutely convergent Dirichlet series
Complete multiplicativity of proves the Euler product by expanding each factor as a geometric series and applying unique integer factorization; absolute convergence justifies these rearrangements.
Suppose is a nonprincipal Dirichlet character. Choose a unit with . Multiplication by permutes a complete residue system, so , and the sum is zero. Consequently is bounded: complete periods contribute zero and the remaining incomplete period has at most terms. The Abel summation formula gives, initially for ,
For the integral converges, locally uniformly together with its derivatives in , because on a compact set with the differentiated integrands are bounded by constants times . Thus holomorphy of a Dirichlet series from bounded partial sums proves
For a nonreal , the character is also nonprincipal. The supplied logarithmic Euler product yields, for real ,
At a prime dividing the numerator is . At every other prime put ; then the numerator is . This Euler product positivity for L-function nonvanishing proves that the product inside the logarithm is at least one. If , its holomorphy would give . Meanwhile is bounded near one and the Riemann zeta function has a simple pole there. The product would therefore be and tend to zero, a contradiction.
For a real nonprincipal , suppose instead that . The product would then be holomorphic on the whole half-plane , because the zero cancels the only zeta pole there. In it has coefficients
These are nonnegative zeta-times-real-L coefficients. They are multiplicative, and their prime-power values are if , one or zero according as is even or odd if , and one if . In particular and for every .
The Taylor series of the assumed holomorphic about converges in the disk . Termwise differentiation of its absolutely convergent Dirichlet series at gives . Evaluate the Taylor series at and apply the Tonelli theorem to the resulting nonnegative terms:
This contradicts holomorphy at . The argument is the positive-coefficient mechanism of the Landau theorem for a Dirichlet series with nonnegative coefficients, with the needed step proved explicitly. Combining the real and nonreal cases gives the nonvanishing of a nonprincipal Dirichlet L-function at one:
Now let be coprime to . The Dirichlet theorem on primes in arithmetic progressions asserts that infinitely many prime numbers satisfy . To prove it, separate the first-power terms in the given logarithmic Euler product:
For , the remainder is bounded uniformly by
For a nonprincipal character, holomorphy and nonvanishing near one give a local holomorphic logarithm. Along a short real interval to the right of one, this logarithm and the supplied continuous logarithm differ by a fixed integer multiple of . Hence the prime-character sum near one is bounded:
For the principal Dirichlet character ,
The latter follows from the simple zeta pole and the bounded remainder. Finally Orthogonality of Dirichlet characters gives
Here is the Euler totient function. The right-hand side tends to infinity as , whereas a finite set of primes would give a bounded left-hand side. Therefore