Constant-one arithmetic function Created 2026-10-03 Updated 2026-10-14
The constant-one arithmetic function has for every positive integer , including . It is a completely multiplicative function. Its Dirichlet convolution with an arithmetic function is the divisor sum . Thus , the divisor function. Its pointwise product of arithmetic functions with is itself; its Dirichlet convolution with generally is not. The Identity for Dirichlet convolution is instead .
Dirichlet convolution Created 2026-09-24 Updated 2026-10-13
The Dirichlet convolution of arithmetic functions is the arithmetic function
In the first sum, runs over the positive integer divisors of ; the second uses ordered pairs of positive integers whose product is . Both sums are finite. Each pair contributes one weight from and one from , so Dirichlet convolution combines information attached to complementary factors. It turns a divisor sum into an operation on arithmetic functions. [ref]
For the six ordered pairs are . The constant-one arithmetic function gives one per pair, while the identity arithmetic function weights the first factor by its size:
Here is the divisor function and is the sum-of-divisors function. By comparison, the pointwise product of arithmetic functions gives and .
Figure 1.
Six ordered pairs of positive integers with product 12 contribute to Dirichlet convolution: one per pair for the divisor function, or the first factor for the sum-of-divisors function
. Details.
Commutativity follows by swapping the two entries of every ordered pair. Associativity follows by reindexing either grouping over the same ordered tuples of three positive integers:
For example, counts ordered tuples of three positive integers with product . Distribute the two occurrences of the prime factor among three entries in ways, and the one occurrence of the prime factor in ways. These binomial coefficients are the stars and bars counts of exponent choices in the nonnegative integers; prime factorization therefore gives such tuples. Directly, the same Dirichlet convolution is .
The Identity for Dirichlet convolution is , and the Möbius function reverses a divisor sum because . This makes Dirichlet convolution useful both for counting factorizations and for recovering an arithmetic function from its divisor sum.
Identity arithmetic function Created 2026-10-03 Updated 2026-10-14
The identity arithmetic function is on the positive integers, for example and . It is a completely multiplicative function and gives the sum-of-divisors function through under Dirichlet convolution. It is distinct from the Identity for Dirichlet convolution . The identity , where is Euler's totient function, is equivalent to .
Identity for Dirichlet convolution Created 2026-09-29 Updated 2026-10-14
The Identity for Dirichlet convolution is the arithmetic function
For every arithmetic function , it satisfies . Indeed, in , only survives. For example,
At the sole term is . This gives a useful way to check Dirichlet convolution calculations: inserting leaves every value unchanged. The three arithmetic functions , , and all take value at , but at the constant-one arithmetic function, the identity arithmetic function, and the Identity for Dirichlet convolution take values , , and , respectively. [ref]
The Möbius function is the inverse of the constant-one arithmetic function under Dirichlet convolution, meaning . The Möbius divisor-sum identity gives a short proof: for the nonzero terms expand , while at the sum is . At , the computation is
The zeros occur because and are divisible by the square of the prime number . Consequently, if is a divisor sum, then associativity gives : this is Möbius inversion.
Möbius divisor-sum identity Created 2026-10-06 Updated 2026-10-14
For every positive integer , the divisor sum of the Möbius function is
The sum includes all positive integer divisors, but only squarefree divisors contribute. Equivalently, under Dirichlet convolution, where is the constant-one arithmetic function and is the Identity for Dirichlet convolution. [ref]
Each squarefree divisor chooses a subset of the distinct prime factors of , contributing when that subset has elements. Expanding a product therefore gives
For at least one prime factor occurs, so the product is zero. At it is an empty product, equal to one. This is the same alternating cancellation that drives inclusion-exclusion.
For , all eight positive integer divisors are squarefree integers, giving
Pair each subset not containing with the subset obtained by inserting : . Each pair cancels. The same nonzero terms occur for , because its squarefree divisors are still the integer divisors of ; its other integer divisors have Möbius function value zero.
Figure 1.
The eight integer divisors of 30 form a cube of subsets of its prime factors; adding one prime factor reverses the Möbius function sign, and all contributions cancel
. Details.
The Möbius divisor-sum identity is the cancellation behind Möbius inversion and reciprocal Dirichlet series: aggregation over integer divisors has an exact inverse.
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]
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]
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 .
Figure 1.
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 gives
The 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.
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:
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 satisfies
and , 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.