The direct divisor summatory function formula evaluates floor divisions. Its balanced Dirichlet hyperbola method formula evaluates floor divisions and reuses their sum for the other strip, followed by doubling and square-overlap subtraction. Thus it uses arithmetic operations, with big O notation, in a model that counts each division, addition and multiplication as one operation. At , the division counts for these two formulas are and .
The balanced Dirichlet hyperbola method reduces floor divisions from to ; for , two sequences of partial sums reach the same exact answer 35
. Details. For a general Dirichlet convolution, the asymmetric formula has outer terms; evaluating and has an additional cost. Under , equal thresholds minimize , but an asymmetric split can be useful if the two partial sums have different evaluation costs. The balanced divisor summatory function gains the further reuse because its two arithmetic functions are identical.
These are arithmetic operation counts, rather than counts of elementary operations on binary digits: the integers grow with , and division of longer integers costs more in that model of computational complexity theory. Computing also requires an exact integer square root, or checking and correcting a numerical square root until holds.
Asymmetric Dirichlet hyperbola split 2026-10-14
A balanced Dirichlet hyperbola method split takes real thresholds . An asymmetric split takes and . Every lattice point with then has or , and every point in their overlap rectangle is allowed because . For arithmetic functions , define their partial sums by and , always over positive integers. The same inclusion-exclusion principle, now with weight , yieldsNo multiplicativity assumption is needed: this is a finite rearrangement of Dirichlet convolution. The constant-one arithmetic function in both positions recovers the divisor summatory function. For , , givesIt uses two columns and six rows, with a twelve-point overlap.
For general positive real thresholds, is sufficient for coverage, since and would imply . If , however, the overlap can include points above the hyperbola. The correct subtraction is then ; the product is justified only when the whole integer rectangle lies below it. For example, , covers every allowed pair, but its rectangle contains the forbidden pair , so subtracting all sixteen points would give instead of .
Conversely, the balanced integer thresholds have and still cover every allowed pair because . More generally, positive integer thresholds give coverage exactly when , and their overlap is a full rectangle exactly when . These discrete conditions explain why the square-root identity works even when .
Dirichlet hyperbola method Created 2026-09-24 Updated 2026-10-14
The Dirichlet hyperbola method turns a long summation over a Dirichlet convolution into two short ones by covering the lattice points below a hyperbola with two overlapping strips. Its simplest application is an exact count: for a positive integer , every positive integer divisor of corresponds to the ordered pair . Thus the divisor summatory function counts precisely the ordered pairs of positive integers with :Here is the divisor function, and the floor function gives the number of allowed values of for each . The axes are excluded, while points on are included.
Set , using the floor function and the positive square root. Every counted pair has or . Otherwise . The first strip contains points; swapping the two coordinates gives the same count for the second. Their overlap contains all pairs with , since . The inclusion-exclusion principle therefore gives the exact identityThe subtraction is for the whole overlap square, rather than only the diagonal. The same Dirichlet hyperbola method identity holds for real , with and . [ref]
Multiplicative number theory: The pretentious approach by Andrew Granville and K. Soundararajan. Andrew Granville and K. Soundararajan, Multiplicative number theory: The pretentious approach, §1.1.4, pp. 7–8: divisor pairing and the hyperbola split
The Dirichlet hyperbola method counts 35 positive lattice points with : two strips of 22 points overlap in a square of nine points
. Details. Divisor summatory asymptotic 2026-10-14
The Dirichlet hyperbola method gives , where . The harmonic number estimate , with the Euler's constant, yields . Substitution of gives the displayed asymptotic expansion. Comparison of with its integral consequently gives for integer .
Divisor summatory function 2026-10-14
The divisor summatory function adds the divisor function up to a cutoff . It counts all ordered pairs of positive integers whose product is at most . For , the twelve individual divisor function values areCounting columns of lattice points instead gives . The Dirichlet hyperbola method needs only the first three column counts:The arithmetic work of the Dirichlet hyperbola method is much smaller even though the answer is identical.
This is useful for elementary averages: individual divisor function values fluctuate, but their summation has the regular behavior given by the divisor summatory asymptotic. Dividing that estimate by a positive integer giveswhere is the natural logarithm, is the Euler--Mascheroni constant, and uses big O notation. This describes an average, rather than an estimate for every individual divisor function value. [ref]
Harmonic divisor sum Created 2026-10-06 Updated 2026-10-14
Write and . The weighted Dirichlet hyperbola method givesIndeed, use and . The latter follows by comparing each summand with the integral on its unit interval: the derivative of has an integrable tail. Since , substitution yields the expansion. Here is the harmonic number and the Euler--Mascheroni constant.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 25 1 Solution Created 2026-10-03 Updated 2026-10-14
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 andAt the sum is one. Thus . Writing , the only divisors with nonzero Von Mangoldt function are , and henceThe Dirichlet convolution is commutative by replacing with , and associative because either bracketing sums over . ConsequentlyThese 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 identitySince , the harmonic number estimate yieldsThe 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 relationFix an integer . The contribution to from has absolute value at mostFor , group by . This gives exactlyunder the assumed cancellation ; extending that assumption from integers to real uses . Therefore . Letting proves the prime number asymptotic from Mertens cancellation:
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 5 b Solution 2026-10-06
Finite rearrangement and the Von Mangoldt divisor identity giveFor , integral comparison of the increasing logarithm gives . Moving to real changes the main term by . Thus the integrated Chebyshev sum hasFor , chooseThese are logarithmic Möbius function weights; they need not be upper-bound sieve weights. For , the Möbius inversion identities and giveHence the expression suggested in the question isWe will use the elementary Möbius harmonic logarithmic moments, , for whichHere is a proof of the needed estimates. From , replacing floors by gives . Also , because . Substituting the permitted harmonic number estimate gives , so .
For , the weighted Dirichlet hyperbola method gives the harmonic divisor sum expansionExplicitly, for , . Substitute the harmonic estimate and , obtained by unit-interval integral comparison. This proves the expansion without a prime-distribution theorem. Since , we have , and thereforeThe summed error is bounded by , by integral comparison. Thus .
Finally substitute the asymptotic for into . The main term isThe error sum is : partition the integers into ; each interval contributes , and the resulting series converges. Using the moment estimates proves the Selberg symmetry formula:In particular, the factor two comes from the quadratic logarithmic moment, rather than from an assumption of the Prime number theorem.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 150 1 b Solution Created 2026-09-24 Updated 2026-10-03
The Dirichlet hyperbola method counts each factorization once and gives, with ,Using and the harmonic number estimate , where is the Euler--Mascheroni constant, we obtainThus one may take .

