In number theory, a multiplicative function is an arithmetic function f of a positive integer n with the property that f(1)=1 and f(ab)=f(a)f(b) whenever a and b are coprime. 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 Id(n): the identity function, defined by Id(n)=n 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⊆ℤ. 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:
gcd(n,k): the greatest common divisor of n and k, as a function of n, where k is a fixed integer φ(n): Euler's totient function, which counts the positive integers coprime to (but not bigger than) n μ(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. a(n): the number of non-isomorphic abelian groups of order n γ(n), defined by γ(n)=(−1)ω(n), where the additive function ω(n) is the number of distinct primes dividing n τ(n): the Ramanujan tau function All Dirichlet characters are completely multiplicative functions, for example (n/p), the Legendre symbol, considered as a function of n where p is a fixed prime number 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:
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.
Properties A multiplicative function is completely determined by its values at the powers of prime numbers, a consequence of the fundamental theorem of arithmetic. Thus, if n is a product of powers of distinct primes, say n = pa qb ..., then f(n) = f(pa) f(qb) ... This property of multiplicative functions significantly reduces the need for computation, as in the following examples for n = 144 = 24 · 32: d(144)=σ0(144)=σ0(24)σ0(32)=(10+20+40+80+160)(10+30+90)=5⋅3=15 σ(144)=σ1(144)=σ1(24)σ1(32)=(11+21+41+81+161)(11+31+91)=31⋅13=403 σ∗(144)=σ∗(24)σ∗(32)=(11+161)(11+91)=17⋅10=170 Similarly, we have: φ(144)=φ(24)φ(32)=8⋅6=48 In general, if f(n) is a multiplicative function and a, b are any two positive integers, then
The product of two multiplicative functions is also multiplicative. Every completely multiplicative function is a homomorphism of monoids and is completely determined by its restriction to the prime numbers.
Convolution If f and g are two multiplicative functions, one defines a new multiplicative function f∗g, the Dirichlet convolution of f and g, by (f∗g)(n)=∑d|nf(d)g(nd) where the sum extends over all positive divisors d of n. With this operation, the set of all multiplicative functions turns into an abelian group; the identity element is ε. Convolution is commutative, associative, and distributive over addition. Relations among the multiplicative functions discussed above include:
μ∗1=ε (the Möbius inversion formula) (μIdk)∗Idk=ε (generalized Möbius inversion) φ∗1=Id d=1∗1 σ=Id∗1=φ∗d σk=Idk∗1 Id=φ∗1=σ∗μ Idk=σk∗μ The Dirichlet convolution can be defined for general arithmetic functions, and yields a ring structure, the Dirichlet ring. The Dirichlet convolution of two multiplicative functions is again multiplicative. A proof of this fact is given by the following expansion for relatively prime a,b∈ℤ+: (f∗g)(ab)=∑d|abf(d)g(abd)=∑d1|a∑d2|bf(d1d2)g(abd1d2)=∑d1|af(d1)g(ad1)×∑d2|bf(d2)g(bd2)=(f∗g)(a)⋅(f∗g)(b).
Dirichlet series for some multiplicative functions ∑n≥1μ(n)ns=1ζ(s) ∑n≥1φ(n)ns=ζ(s−1)ζ(s) ∑n≥1d(n)2ns=ζ(s)4ζ(2s) ∑n≥12ω(n)ns=ζ(s)2ζ(2s) More examples are shown in the article on Dirichlet series.
… excerpt ends here. Continue reading the full article.