Lably
Skip to content

Multiplicative function

Function equal to the product of its values on coprime factors

  • 7 min read
  • 8 chapters

Related on Lably

Through Integer, Coprime integers and Greatest common divisor

An arithmetic function is said to be completely multiplicative (or totally multiplicative) if f(1)=1 and f(ab)=f(a)f(b) holds for all positive integers a and b, even when they are not coprime.

Examples

Some multiplicative functions are defined to make formulas easier to write:

  • 1(n): the constant function defined by 1(n)=1
  • Idk⁡(n): the power functions, defined by Idk⁡(n)=nk for any complex number k. As special cases we have
    • Id0⁡(n)=1(n), and
    • Id1⁡(n)=Id⁡(n).
  • ε(n): the function defined by ε(n)=1 if n=1 and 0 otherwise; this is the unit function, so called because it is the multiplicative identity for Dirichlet convolution. Sometimes written as u(n); not to be confused with μ(n).
  • λ(n): the Liouville function, λ(n)=(−1)Ω(n), where Ω(n) is the total number of primes (counted with multiplicity) dividing n

The above functions are all completely multiplicative.

  • 1C(n): the indicator function of the set C⊆Z. This function is multiplicative precisely when C is closed under multiplication of coprime elements. There are also other sets (not closed under multiplication) that give rise to such functions, such as the set of square-free numbers.

Other examples of multiplicative functions include many functions of importance in number theory, such as:

  • μ(n): the Möbius function, the parity (−1 for odd, +1 for even) of the number of prime factors of square-free numbers; 0 if n is not square-free
  • σk(n): the divisor function, which is the sum of the k-th powers of all the positive divisors of n (where k may be any complex number). As special cases we have
    • σ0(n)=d(n), the number of positive divisors of n,
    • σ1(n)=σ(n), the sum of all the positive divisors of n.
  • σk∗(n): the sum of the k-th powers of all unitary divisors of n
σk∗(n)=∑d∣ngcd(d,n/d)=1dk
  • rad⁡(n): the radical of n, which is the product of the distinct prime factors of n.

An example of a non-multiplicative function is the arithmetic function r2(n), the number of representations of n as a sum of squares of two integers, positive, negative, or zero, where in counting the number of ways, reversal of order is allowed. For example:

1 = 12 + 02 = (−1)2 + 02 = 02 + 12 = 02 + (−1)2

and therefore r2(1)=4≠1. This shows that the function is not multiplicative. However, r2(n)/4 is multiplicative.

In the On-Line Encyclopedia of Integer Sequences, sequences of values of a multiplicative function have the keyword "mult".

See arithmetic function for some other examples of non-multiplicative functions.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Functions