Möbius function Created 2026-09-24 Updated 2026-10-13
The Möbius function assigns a cancellation weight to each positive integer:Thus a squarefree integer contributes a sign determined by its number of distinct prime factors; a repeated prime factor makes the weight zero. This packages the alternating signs of inclusion-exclusion into an arithmetic function. [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781 lecture notes, Definition 2.1.2
For example, , , and , since . In contrast, : all three have the square of the prime number as a divisor. On prime powers, and for .
The Möbius function is a multiplicative function: for coprime integers, their prime factors are disjoint, so either a squared prime factor forces both sides of to vanish, or the counts of distinct prime factors add and their signs multiply. It is not a completely multiplicative function, since . Its Möbius divisor-sum identity makes it the inverse of the constant-one arithmetic function under Dirichlet convolution: , the Identity for Dirichlet convolution. This is why the small set of weights can undo an entire divisor sum.
Möbius inversion formula Created 2026-09-24 Updated 2026-10-14
Möbius inversion recovers an arithmetic function from its divisor sum. For arithmetic functions , the following statements are equivalent, with each equality required for every positive integer :Here ranges over positive integer divisors of and is the Möbius function. No multiplicativity assumption is needed, and both sums are finite. The right side can also be written by exchanging complementary integer divisors. [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781 lecture notes, Theorem 2.5.1 and Proposition 2.5.2
The divisor sum bundles together with values at smaller integer divisors. Möbius inversion subtracts aggregates indexed by one distinct prime factor, adds those indexed by two, and continues with the alternating signs of inclusion-exclusion. A divisor containing a squared prime factor receives weight zero. The Möbius divisor-sum identity ensures that every unwanted contribution cancels exactly.
In Dirichlet convolution notation, and , where is the constant-one arithmetic function and is the Identity for Dirichlet convolution. Associativity and commutativity give the short proof:Convolving with proves the reverse implication. At , the formula reduces to because .
For a worked example, take , Euler's totient function. The totient divisor-sum identity says that , the identity arithmetic function:This identity comes from classifying the integers by their greatest common divisor with : the group with has members, since and are coprime integers. Summing the group sizes gives , as detailed under totient divisor-sum identity.
Now undo this aggregation with the Möbius function:The nonzero terms use ; vanish because they contain the square of the prime number . The four surviving integers coprime to are .
A divisor sum aggregates Euler's totient function values to 12, while Möbius inversion recovers the four integers coprime to 12
. Details. This example also reveals why Möbius inversion is useful: it turns an easy count of all objects into a count satisfying a coprimality restriction. Expanding over subsets of distinct prime factors givesThe product is inclusion-exclusion over multiples of the prime factors. For , it gives . More generally, whenever a counting problem produces a divisor sum, Möbius inversion lets that aggregate be reversed without solving a new system of equations.
Multiplicativity of Dirichlet convolution 2026-10-14
The Dirichlet convolution of two multiplicative functions is a multiplicative function. For positive coprime integers , every positive integer divisor of has a unique form with and , by prime factorization. The pairs and are each coprime integers, so the defining rules for the two multiplicative functions separate the sum:Also . This short argument proves multiplicativity of both the divisor function and the sum-of-divisors function . The result need not be a completely multiplicative function, even when both inputs are: fails at . [ref]
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 28 7 ii Solution Created 2026-10-03 Updated 2026-10-14
Use the integer norm lower bound for rational approximation to a quadratic irrational. The integer is nonzero, since is irrational. If , thenbecause . If , the difference is at least . ThusIn particular, is a badly approximable number.
To estimate the prime-weighted exponential sum, let . The Dirichlet approximation theorem gives a reduced fraction withCombining this with the lower bound gives . Thus ; the approximation cannot have a small denominator.
The relevant analytic input is the prime exponential-sum estimate from Vaughan identity:Here is the structure behind that estimate. With Dirichlet convolution and cutoffs , the Vaughan identity isIt follows from , , and . The first two Dirichlet convolution terms become type I sums with one short factor; the last becomes a bilinear type II sum with both factors bounded below. Split these sums into dyadic blocks and use . For the type I sums, the inner finite geometric series has bound . For the type II sums, the Cauchy-Schwarz inequality followed by expansion introduces analogous sums in differences of indices. Rational approximation separates the phases into blocks of length comparable to , bounding these reciprocal-distance sums. The Dirichlet convolution coefficients are divisor-bounded, producing the logarithmic factors. These steps give the displayed estimate; no unproved cancellation of arbitrary weighted sums is being assumed.
With and , the two denominator-dependent terms are . ConsequentlyThe final passage absorbs the logarithm using the positive exponent margin .
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 30 6 Solution Created 2026-10-03 Updated 2026-10-14
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 givesThe 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 iswhere 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 coefficientThis 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 asBoth 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 boundWith , 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 productPair adjacent factors. If , their modulus issince 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 parityFor a fixed , the sum is a sum over multiples of in an integer interval . The additive character orthogonality filter givesIts 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.
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 2012 iii Paper 29 1 Solution Created 2026-10-03 Updated 2026-10-07
Let be the Möbius function. Its Möbius divisor-sum identity isIndeed, 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 satisfiesHere 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 givesSecond, the exact Dirichlet convolution identityfollows from : multiplication of a Dirichlet convolution by differentiates its two factors, so applying it to and convolving again with gives this formula. Summing it yieldsThe 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. ThereforeFor the Mertens function ,The second sum has absolute value at most , by an integral comparison or the Stirling formula. ConsequentlyThe absolute value in this conclusion is present in the original PDF.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 29 4 Solution Created 2026-10-03 Updated 2026-10-07
A precise useful form of the principle is the type I–type II inverse principle for Möbius correlation. Normalize , and supposeFor any positive integer cutoffs with , defineThen , where is the divisor function, and at least one of the following two sums has modulus at least :The first is correlation against a controlled linear combination of indicators of multiples of small moduli, each a periodic function: this is the “somewhat periodic” branch. The second is a bilinear sum with independently weighted factors, both larger than the cutoffs: this is the “somewhat multiplicative” branch. The statement concerns these precise correlations, not an assertion that must itself be periodic or multiplicative.
For clarity, the Vaughan identity for the Möbius function proves this version immediately. Split and likewise at . Since ,Multiply by and sum. The first two terms contribute at most in modulus, and the remaining terms are . The triangle inequality gives the stated dichotomy. It is valid at finite and for any chosen cutoffs in the indicated range.
We now prove the required orthogonality without appealing to a stronger uniform exponential-sum theorem. Write and . The Diophantine bound for the square root of two iswhere is distance to the nearest integer. If is that nearest integer, then , while ; dividing proves the bound.
Use the preceding Dirichlet convolution identity with . The two short terms are . For the type I sum, the exponential geometric sum bound givesConsequentlyusing from counting factor pairs.
For the type II sum, perform a dyadic decomposition into , , keeping . Nonempty blocks have , while . A block satisfies, by the Cauchy-Schwarz inequality and the divisor-square summatory bound,To justify the cutoff, after expanding the square the permissible for a pair still form an interval, with upper endpoint . Its exponential sum has the same geometric bound. Diagonal pairs supply ; for each nonzero difference there are pairs.
The points modulo one are separated by at least . Counting points in consecutive distance bands around zero therefore givesSubstitution yields the bilinear cancellation for badly approximable phases estimateThere are blocks, so . The divisor-square bound itself can be obtained elementarily from prime-power by prime-power and ; no uncontrolled coefficient bound is being suppressed.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 3 b Solution 2026-10-06
Write , where is the prime omega function. If , its contribution to the Dirichlet convolution isSince , summing over the prime factors proves the log-weighted convolution bound for three to the prime omega, . On , , henceThis is the required inequality. The standard Chebyshev estimate bounds its right side by . To bound the latter sum, use multiplicativity and extend to all numbers with prime factors at most :The Mertens second theorem states . Taking logarithms of the product, with a summable remainder, gives . Therefore the product is , proving the summatory bound for three to the prime omega in the required range:
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 4 a Solution Created 2026-10-03 Updated 2026-10-06
Let and , the identity for Dirichlet convolution. The elementary identities needed areFor the first, prime factorization gives when , and one when . For the second, if , then , the Von Mangoldt divisor identity. Convolving the second identity with proves the third.
For , let the subscripts , , , denote truncations. The Vaughan identity isIts pointwise form isTo prove it, use and . This givesand rearrangement proves the formula, as in the Vaughan identity proof.
The Bombieri–Vinogradov theorem states that for every there is such thatHere is the Chebyshev function in an arithmetic progression, and is the Euler totient function. In particular, partial summation givesafter choosing the logarithmic saving in the weighted theorem sufficiently large and absorbing the prime power terms. This is the offset logarithmic integral function.
For the proof strategy, Orthogonality of Dirichlet characters converts errors in arithmetic progressions into character sums of Dirichlet characters weighted by . Reduction to primitive Dirichlet characters is followed by the character large sieve, which bounds their mean square by with the usual weights. The Vaughan identity separates the weighted sums into short terms, Type I sums and Type II sums. Direct inner-sum estimates handle the Type I sums; the Cauchy-Schwarz inequality and the large sieve control the Type II sums. The Siegel–Walfisz theorem supplies arbitrarily strong logarithmic savings for small moduli, where an average estimate alone would not suffice. A dyadic decomposition, suitable and a sufficiently large absorb the divisor and logarithmic losses. This explains why the range is essentially , with logarithmic room to spare.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 1H Solution Created 2026-09-24 Updated 2026-10-06
The Euler totient function counts integers with . The Möbius function has , is zero when a prime square divides , and equals when is a product of distinct primes. Consequentlybecause for the sum over squarefree divisors is .
The Möbius inversion formula is . Substituting the divisor sum defining and collecting the coefficient of givesThis proof uses only finite sums, so no convergence hypothesis is needed.
Classifying by their greatest common divisor with gives : the class with greatest common divisor contains exactly integers. Applying the Möbius inversion formula yieldsThe Riemann zeta function is for . Absolute convergence justifies multiplication of Dirichlet series. The divisor identity for the Möbius function gives there. For both factors below converge absolutely, and their Dirichlet convolution is the Euler totient function:
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 1 b Solution Created 2026-10-03 Updated 2026-10-06
The Möbius function has , when is divisible by a prime square, and when is a product of distinct primes. The Riemann zeta function is initially the Dirichlet series for . Both this Dirichlet series and have absolute convergence, because and .
For a finite set of primes , multiplication of absolutely convergent geometric series and unique prime factorization giveEvery omitted integer has a prime factor exceeding , so it exceeds . The difference from has absolute value at most . This proves the Euler product, with the product interpreted as the limit of its finite products:
For the reciprocal identity, absolute convergence justifies multiplying and regrouping the two Dirichlet series by their product index. Their Dirichlet convolution coefficient at isThe coefficient calculation uses only the squarefree integers dividing . Consequently the reciprocal identity is an identity of absolutely convergent series:
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 3 1G Solution Created 2026-09-24 Updated 2026-10-03
An arithmetic function is multiplicative if whenever and are coprime integers. If and , every positive integer divisor of is uniquely with and . Henceso is multiplicative.
The Möbius function is defined by , if the square of a prime number divides , and if is a product of distinct prime numbers. Coprime integers have disjoint sets of prime factors, so this definition immediately gives when .
For , only the square-free divisors contribute, and thereforeFor the sum is . Thus in the language of Dirichlet convolution. Convolving with gives the Möbius inversion formula
If , its divisor sum is the sum-of-divisors function. Conversely, if , Möbius inversion givesusing the standard divisor identity for the Euler totient function. Therefore the two requested answers are
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 4 11H a Solution Created 2026-09-24 Updated 2026-10-14
An arithmetic function is multiplicative when and whenever and are coprime. If and are coprime, every divisor of has a unique factorization with and . Hence the Dirichlet convolution of multiplicative functions satisfiesand , so it is multiplicative.
Let be the Identity for Dirichlet convolution, with and for . The Möbius function satisfies . Therefore, using commutativity and associativity,This is the Möbius inversion formula.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 150 1 a Solution Created 2026-09-24 Updated 2026-10-03
Let . The basic Von Mangoldt divisor identity isbecause if , the right-hand side is . In terms of Dirichlet convolution, this says . Since the Möbius function is the convolution inverse of , convolving with gives . Consequently
