For ,
The Orthogonality of Dirichlet characters expresses it in terms of character-twisted Von Mangoldt functions.
The Von Mangoldt function is nonnegative and satisfies . Therefore the middle short-divisor coefficient in the Vaughan identity has the displayed pointwise bound. Grouping its long-divisor term as , with , gives . This grouping permits bounded-coefficient Type II sums after division by .
For ,
If , its contribution to is . Since , summing over the prime factors proves the bound. Here is Dirichlet convolution and is the Von Mangoldt function.
For and , apply the Siegel–Walfisz theorem to every reduced residue class with error exponent . The main terms sum to , where the Ramanujan sum satisfies for coprime . Nonunits with nonzero Von Mangoldt function are powers of primes dividing and contribute at most , which is absorbed by the error. For arbitrary , the correct main term is ; the reduced numerator hypothesis cannot be omitted.
Vinogradov's three-primes theorem states that every sufficiently large odd positive integer is a sum of three primes, with repetitions allowed. The parity restriction is a genuine local obstruction to the main asymptotic, not merely a technical convenience.
Let be large and define the prime-weighted exponential sum
where is the Von Mangoldt function. Character orthogonality gives the Hardy-Littlewood circle method identity
The task is to extract a positive main term from rational neighborhoods and make the remaining integral smaller.
Take , with a fixed sufficiently large , and use major arcs around reduced fractions with . They are disjoint once is large relative to . The minor arcs are their complement. On a major arc put . The Siegel–Walfisz theorem, followed by partial summation in each residue class, gives
uniformly on these arcs after choosing the underlying logarithmic error exponent sufficiently large. The reduced residue-class sum is the Ramanujan sum when . Prime powers dividing and the partial-summation factor are absorbed in the stated error choice.
Cubing and integrating produces the singular series and singular integral:
The last identity is Fourier inversion for the volume of the simplex , ; the upper bounds do not restrict its interior. The tails and approximation errors are . Since on squarefree , multiplicativity gives
For even the factor at vanishes. For odd it is , and
The lower bound is uniform in odd . The product converges because the sums of the local deviations converge. It describes how congruence restrictions alter the otherwise random prime-summand density.
For the minor arcs, a Type I/II prime-sum estimate provides the necessary cancellation. One useful form, obtainable from Vaughan's identity and bilinear estimates, is
when . Dirichlet's approximation theorem supplies a denominator with . On the minor arcs its denominator must exceed , so both denominator-dependent terms are at most . Choosing large gives . The mechanism is to split into short-divisor Type I sums and bilinear Type II sums; geometric-sum bounds treat Type I, while Cauchy-Schwarz exposes correlations and rational spacing in Type II. The displayed estimate is the substantive analytic input, rather than a consequence of bounding each summand separately.
Meanwhile Parseval identity and the elementary prime-weight second moment give
Therefore
Combining the two regions yields . Proper prime powers account for only : there are such choices for one coordinate, at most choices for another, and each weight is at most . Hence they cannot account for the positive main term. The weighted count using primes alone is positive for every sufficiently large odd , proving the asserted representation. The conclusion is the sufficiently-large three-prime theorem; no verification of every small odd integer is supplied by this argument.
Write for the Chebyshev theta function and for the Second Chebyshev function, where is the Von Mangoldt function. We first establish the Chebyshev estimate. Every prime divides the central binomial coefficient , so
Apply this at successive powers of two and use monotonicity to obtain . Since
the terms contribute and therefore . This Chebyshev estimate from central binomial coefficients is all the information about the distribution of primes needed here.
The Von Mangoldt divisor identity gives the factorial proof of Mertens first theorem. With , interchange the finite sums to obtain
Comparison of with gives . Dividing the preceding identity by , using and the Chebyshev estimate, gives
The contribution of higher prime powers is bounded independently of , because
Thus the Mertens first theorem is
For the square-root logarithmic sum over primes, apply partial summation to with weight . The lower endpoint is understood as , so
The main terms are and . The bounded error in produces a bounded integral, since . Therefore
Neither argument uses the Prime number theorem.
Write and let run over Nontrivial zeros of the Riemann zeta function, including multiplicity. The bounds involving below are for . At bounded heights their uniform versions use ; itself cannot be the right bound near zero or .
Start with the Hadamard factorization of the Riemann xi function, an entire function of order one. Its logarithmic derivative has the convergent expansion
Differentiating gives
The real sum of converges absolutely: makes its terms at large height, and the order-one Hadamard factorization ensures the required summability. Thus these terms and form a fixed constant. The Stirling formula for the digamma function gives, uniformly for and ,
This is the useful real form of the global partial-fraction expansion of the zeta logarithmic derivative. Every term subtracted is nonnegative because the Euler product excludes zeros with . At the simple pole , one also has as .
The three-four-one zero-free-region argument now detects a zero too close to one. The Von Mangoldt function is nonnegative and the absolutely convergent Dirichlet series gives
because the corresponding coefficient at is . If is a zero, retain its term in the expansion at height and discard the other nonpositive terms. The expansion at height gives an upper bound even without retaining a particular zero. We obtain, for an absolute constant ,
Choose so small that , put , and take . If , the last inequality would require
a contradiction. Therefore
for some fixed . This proves the required zero-free region of the Riemann zeta function. Nonvanishing on at bounded nonzero heights, proved in Question 2, and the isolation of zeros allow a decrease of giving the uniform formulation with as well. Near , apply this observation to the nonzero holomorphic function .
Next evaluate the real expansion at . The absolutely convergent Dirichlet series bounds uniformly in , so
Since , each term on the left is at least . The smoothed zeta zero-count bound follows:
Each zero satisfying contributes more than , so this also gives the local zero count for the Riemann zeta function:
The same kernel sum is bounded at compact heights, since its tail converges uniformly there; the bounds with are consequently valid for all real .
For completeness, the contour estimate used in Question 2 follows from these very formulas. Subtract the complex logarithmic derivative expansion at from that at , with and . Terms with have differences , whose sum is by the kernel bound. There are remaining terms. After reducing , the zero-free region of the Riemann zeta function separates every such zero horizontally from the half-width boundary by : their heights satisfy . Thus on the left edge, and on the horizontal edges at , each reciprocal is . The Gamma function and pole terms satisfy the same required bound; at small heights on the left edge the pole distance is . This proves on those edges and justifies the contour shift without choosing heights that dodge unknown zeros.
First continue the Riemann zeta function into . Summing the integral of the integer-part function gives, initially for ,
The last integral defines a holomorphic function for , so this continuation has only a simple pole at one, of residue one.
For , logarithmic expansion of the Euler product and give
This proves the three-four-one product proof of zeta boundary nonvanishing inequality
If and to order , the middle factor is , the first is , and the last remains bounded. Their product tends to zero, a contradiction. At there is a pole, not a zero. The zeta function has no zero on .
Put , where is the Von Mangoldt function. Logarithmic differentiation of the Euler product gives for . The first integral of the Chebyshev function is consequently
To check its kernel, evaluate the contour integral of by closing to the left for and to the right for . The residues at zero and minus one give in the first case and zero in the second. Multiplication by and substitution therefore produce . On the line , the Dirichlet series and vertical integral have absolute convergence, justifying their interchange; at the kernel is zero on either side.
Here is the smoothing step that establishes the requested asymptotic. Shift the line of this contour integral to the left. The pole of at one has residue ; at each Nontrivial zero of the Riemann zeta function of zero multiplicity its residue is . The denominators also contribute at zero and minus one, and the trivial zeros of the Riemann zeta function occur at . Summing these residues yields the smoothed explicit formula for the Chebyshev function
Zeros are repeated with zero multiplicity. For the limits of the contour integral, choose horizontal heights avoiding zero ordinates, where the logarithmic derivative on each fixed strip is . The factor makes their integrals tend to zero. On left edges chosen a fixed distance from the trivial zeros, the functional equation of the Riemann zeta function controls the logarithmic derivative by ; for fixed the remaining vertical integral vanishes as that edge moves left. This is why the extra integration of is useful.
The Riemann–von Mangoldt formula, stated in Question 3, gives , hence
Indeed each dyadic height block contributes . The zero-free line just proved, the nonvanishing Euler product on its right, and the functional equation of the Riemann zeta function put every Nontrivial zero of the Riemann zeta function in . Therefore each tends to zero, with absolute value at most one for . Divide the explicit formula by and use dominated convergence on the zero terms with absolute convergence. The remaining displayed terms are , and we obtain
Monotonicity of removes the smoothing. For ,
After division by , the limits of the two bounds are and . Let to get . Question 1 gives , so . Partial summation now gives
The integral is , by splitting at and using . Inverting this at , we have and hence . Thus the th prime satisfies
The Von Mangoldt function is supported on prime powers:
Write . A convenient form of the Siegel–Walfisz theorem is: for every fixed , uniformly for and ,
The implied constant can be ineffective because of possible Siegel zeros; the modulus bound is logarithmic, not an unrestricted uniformity assertion.
Apply this to modulus five and separate the reduced residue classes:
The last sum is : only powers of five can contribute in the zero residue class. By the orthogonality of roots of unity,
since two is coprime to five and the sum including vanishes. As , the Siegel–Walfisz theorem yields
The sum is complex-valued, but the displayed error controls its absolute difference from the real main term.
Write and . The global partial-fraction expansion of the zeta logarithmic derivative is
Here is the Euler--Mascheroni constant, and the sum includes multiplicities of the Nontrivial zeros of the Riemann zeta function. The paired terms are locally absolutely convergent away from their poles, by the Riemann–von Mangoldt formula. This identity follows by differentiating the genus-one Hadamard factorization of the Riemann xi function and using the Gamma function recurrence.
We first prove the classical zero-free region of the Riemann zeta function. The Euler-product nonvanishing of the Riemann zeta function and its functional equation place every nontrivial zero in the closed strip ; no assertion about zeros on its boundary is needed yet. The real logarithmic derivative of Riemann xi and the digamma function asymptotic imply, for and ,
Every summand being subtracted is nonnegative. If is a zero, retaining its summand gives ; at height the upper bound suffices. At real the simple pole of gives .
For , the Dirichlet series has nonnegative coefficients. The identity therefore gives the three-four-one zero-free-region argument
With , a zero at would consequently satisfy
Choose , with an absolute sufficiently small, and put . If , this inequality would imply . But for small enough , a contradiction.
For any fixed , the same positivity inequality as excludes a zero at : its negative contribution has coefficient at least four, whereas the real pole contributes only three. Any zero at only strengthens the contradiction. The pole at has a zero-free punctured neighbourhood. By compactness, the remaining bounded-height portion of the line has a zero-free neighbourhood as well. Shrink to combine these facts with the large-height bound. Hence
with the understanding that is a pole.
The Riemann–von Mangoldt explicit formula for the Second Chebyshev function, with half weight at a prime-power endpoint, is
The zero sum uses symmetric height truncation. To estimate it, take a half-integer and use the truncated explicit formula for the second Chebyshev function
The zero-free region gives for these zeros. The Riemann–von Mangoldt formula and partial summation give . Choose . Both the zero sum and the truncation error are then after reducing the positive constant to absorb logarithmic factors. Replacing an arbitrary by preserves the Von Mangoldt function sum and changes the main term by at most one. This proves the requested form of the Prime number theorem:
Extend by zero outside . Here is a dyadic endpoint convention for small Type I and Type II sums. Write , with a power of two. Type I sums are -small if, for every , dyadic with , and arbitrary integer intervals ,
Type II sums are -small if, for all dyadic and sequences ,
Zero extension handles boxes crossing the endpoint . Fixed choices of open or closed dyadic endpoints do not matter, but interval uniformity and uniformity in both bounded coefficient sequences do matter. These are the estimates used in the Vinogradov Type I–II method.
An interesting technical step is Fourier separation of interval cutoffs. For an integer interval , let . Discrete Fourier inversion gives
The exponential geometric sum bound gives a common envelope , with . Divide the interval transform by this envelope: at each frequency it is a bounded coefficient depending on , and is a bounded coefficient depending on . The Type II sum assumption therefore bounds the interval-cutoff sum by . Choosing the outer unit phases to turn each inner sum into its modulus extends the Type I sum bound to boxes where both variables are in the Type II range.
Take . With subscripts denoting truncation of arithmetic functions, the Vaughan identity is
where now means Dirichlet convolution. For completeness it follows from and : expand , cancel the short terms, and retain . The short first term contributes to the sum against .
The next two terms give Type I sums. The logarithmic term has outer coefficient , , and inner factor , removed by partial summation at a cost . In the other term the outer variable is with coefficient
This logarithmic coefficient bound in Vaughan identity avoids a loss from a divisor weight. On boxes with short outer variable use the hypothesis directly; on boxes where both variables are at least use the extended bound proved above. Boxes with inner variable less than contain at most pairs in total and are treated trivially. All remaining inner scales are at most whenever the outer scale exceeds .
For the final convolution, group the variables as
Both variables lie between constant multiples of and , well inside the Type II range. Divide by , and apply the Type II sum estimate. If the product cutoff is kept explicitly, Fourier separation of interval cutoffs costs only one extra logarithm; zero extension also permits its omission. There are boxes in the dyadic decomposition. The coefficient bound and, where needed, partial summation cost at most one more logarithm. These estimates give the convenient bound
With , each term is , proving the assertion. The grouping of the long term uses the nonnegativity of the Von Mangoldt function; more usual groupings instead control a divisor coefficient by a second-moment truncation. Ben Green's notes, Sections 2.3–2.4 describe that standard alternative.
Now take the sign version of the Thue–Morse sequence, . Concatenation of binary digits gives for . Expanding over all choices of digits proves the Thue–Morse Fourier product
Pair adjacent factors. If , their modulus is
since the maximum on occurs at . Thus uniformly, where .
Every integer interval is a disjoint union of aligned binary blocks with at most two blocks of each length. On such a block the digit concatenation identity and the Thue–Morse Fourier product give the same bound, up to a unit phase. Summing the geometric series proves the uniform interval cancellation for binary digit parity
For a fixed , the sum is a sum over multiples of in an integer interval . The additive character orthogonality filter gives
Its modulus is , independently of and the interval. Summing at most outer values proves the small Type I sums for binary digit parity:
This is smaller than for sufficiently large . It proves the required Type I cancellation; the substantially harder Type II cancellation is not needed for this final clause.
Write and let be the Identity for Dirichlet convolution. The Möbius function uses the empty-product convention ; the Von Mangoldt function has . We first establish all the arithmetic function identities needed below. Every integer divisor of contributes one to , so . If has distinct prime factors, the squarefree divisors correspond to their subsets and
At the sum is one. Thus . Writing , the only divisors with nonzero Von Mangoldt function are , and hence
The Dirichlet convolution is commutative by replacing with , and associative because either bracketing sums over . Consequently
These are consequences of the definitions, rather than unproved invocations of Möbius inversion.
To identify the constant, integrate on each interval :
The tail is , since the integrand is at most for . Summation therefore gives , where is the harmonic number, and . Thus this is Euler's constant.
Put . Counting pairs of positive integers whose product is at most , and subtracting the square counted twice, gives the Dirichlet hyperbola method identity
Since , the harmonic number estimate yields
The increasing natural logarithm also satisfies by comparison with its integral. Subtracting proves
For the second implication, denote the Mertens function by and the Second Chebyshev function by . Apply the proved Dirichlet convolution identities to :
Summing this identity over integers up to gives the exact relation
Fix an integer . The contribution to from has absolute value at most
For , group by . This gives exactly
under the assumed cancellation ; extending that assumption from integers to real uses . Therefore . Letting proves the prime number asymptotic from Mertens cancellation:
The rational approximation below is taken in lowest terms, , with , and . This is necessary for denominator-sensitive exponential sum estimates and for the final Ramanujan sum to equal . If , the defining sum over is empty and ; hence we may assume .
Set , so , and write the given Vaughan identity term as the Type II sum
Use a dyadic decomposition into , , retaining . Empty blocks may be discarded; every remaining block has , , and there are blocks. Denote a block by . The Cauchy-Schwarz inequality gives
By the allowed divisor-square summatory bound, the first factor is . Expand the second factor. The diagonal contributes , using . For a pair , the allowed form the interval
Thus the exponential geometric sum bound applies to this interval even though the original block has a hyperbolic cutoff. For each difference , there are ordered pairs, giving an upper bound
for the expanded second factor, with an absolute constant accommodating integer endpoints. The supplied reciprocal fractional-part sum near a rational, with and , bounds the last sum by
One may also derive this directly from the separated reciprocal-distance sum by splitting into blocks of length at most ; the approximation error between two block points is at most , and the rational rotations are separated by .
Combining the estimates yields
Since and , both . Taking square roots proves
Summing the dyadic blocks establishes the rational-phase Type II estimate and, in particular, the requested bound with an explicit logarithmic power:
The Siegel–Walfisz theorem states that for fixed , uniformly for and ,
The constant is allowed to be ineffective. Apply this with to the reduced residue classes. Their contribution to the prime exponential sum is
since there are at most residue classes. To evaluate the Ramanujan sum, the Möbius divisor-sum identity gives . Then the finite geometric series gives
When , only remains, giving . The omitted nonunits contribute only prime powers with . For each such prime, the sum of their Von Mangoldt function weights is at most , so their total is at most , absorbed by the stated error. This proves the major-arc value of the prime exponential sum:
The original PDF does not state coprimality in this last request. Without it the asserted main term is genuinely false: makes and hence , whereas . For an arbitrary numerator the correct main term is , with given by the divisor formula above. Reducing the fraction before applying the boxed result is the equivalent repair.
Let be the Möbius function. Its Möbius divisor-sum identity is
Indeed, for the sum is the expansion of ; nonsquarefree divisors contribute zero. Thus, for arithmetic functions ,
To prove Möbius inversion, substitute the first formula into the second and collect the coefficient of . It is , which is one for and zero otherwise. Conversely the same divisor interchange recovers from the displayed formula for . In Dirichlet convolution notation this is simply , where is supported at one.
The Prime number theorem with classical zero-free-region error states that some absolute satisfies
Here is the Von Mangoldt function. An equivalent prime-counting form, after decreasing if needed, is . The contributions of proper prime powers are and can be absorbed into this error. We use to keep it distinct from the Fourier transform appearing in Question 5.
Here is a direct deduction of the requested Mertens bound from a log-integrable Chebyshev error from the stated Prime number theorem. First, the divisor identity gives
Second, the exact Dirichlet convolution identity
follows from : multiplication of a Dirichlet convolution by differentiates its two factors, so applying it to and convolving again with gives this formula. Summing it yields
The last harmonic sum is . To see this without an endpoint approximation, split into dyadic ranges . In each range , and its exponential factor is at most . Their sum over converges. The finitely many terms with obey the same estimate after adjusting the constant in the prime-number-theorem error. Therefore
For the Mertens function ,
The second sum has absolute value at most , by an integral comparison or the Stirling formula. Consequently
The absolute value in this conclusion is present in the original PDF.
Write , where is the Von Mangoldt function. The Riemann–von Mangoldt explicit formula, in its symmetric limiting form for , is
Here nontrivial zeros are counted with multiplicity, the limit is taken symmetrically through admissible heights, and assigns half weight at a jump. Its difference from is at most . The Euler product and part (a) exclude zeros with real part at least one. The functional equation of the Riemann zeta function leaves only the trivial zeros of the Riemann zeta function at negative even integers outside ; their already displayed logarithmic correction is for large . These terms and the constant are negligible in the requested asymptotic error, rather than literally absent from the exact formula.
A useful truncated explicit formula for the second Chebyshev function is, uniformly for ,
One may first take a height in separated from zeros and then adjust to using the local count. The local zero count for the Riemann zeta function is
It includes multiplicity and is uniform in real . It follows by subtracting the Riemann–von Mangoldt formula at endpoints, handling bounded heights separately and using conjugation for negative heights. Both closed endpoints change the count only by another local bound.
The Von Mangoldt function is nonnegative and satisfies . Using the Von Mangoldt divisor identity,
For , a comparison with an improper integral gives
Second Chebyshev function Created 2026-09-28 Updated 2026-10-14
The Second Chebyshev function is the partial sum of the Von Mangoldt function up to a real cutoff :
For example, , , and . At the jump has size ; between and no new prime power greater than one enters the sum. In contrast, the Chebyshev theta function stays at .
There is also an exact connection with the least common multiple. For , each prime number occurs to the highest exponent for which , both in that least common multiple and in the accumulated Von Mangoldt function weights. Thus
This explains the value at : the least common multiple is . The Chebyshev theta function instead gives the natural logarithm of the primorial . The additional prime powers retain the highest required multiplicities.
Why is this useful for the distribution of prime numbers? The Prime number theorem has the equivalent forms
where is the prime-counting function and denotes asymptotic equivalence. Thus an arithmetic function defined using prime factorization has average weight tending to one over long initial intervals of the positive integers. These are substantive asymptotic equivalences, not consequences of the definitions or the Von Mangoldt divisor identity alone. [ref]
The elementary reason the two Chebyshev functions have the same leading behavior is that their difference is small compared with . Every additional prime power has base , and for each such prime number its total extra weight is at most . There are at most such bases, so
This transfers to , or conversely, once either is established. Partial summation then relates the Chebyshev theta function to the prime-counting function. The estimate controls the extra prime powers; proving the leading value itself is the harder Prime number theorem problem.
For , and , apply the truncated Perron formula with Von Mangoldt function coefficients at both endpoints on the same vertical line. The difference kernel is , of modulus . The usual near-integer error bound contributes . The logarithmic derivative on this line is finite because of the Euler product.