In number theory, a multiplicative function is an arithmetic function f {\displaystyle f} of a positive integer n {\displaystyle n} with the property that f ( 1 ) = 1 {\displaystyle f(1)=1} and f ( a b ) = f ( a ) f ( b ) {\displaystyle f(ab)=f(a)f(b)} whenever a {\displaystyle a} and b {\displaystyle b} are coprime.
An arithmetic function is said to be completely multiplicative (or totally multiplicative) if f ( 1 ) = 1 {\displaystyle f(1)=1} and f ( a b ) = f ( a ) f ( b ) {\displaystyle f(ab)=f(a)f(b)} holds for all positive integers a {\displaystyle a} and b {\displaystyle b} , even when they are not coprime.
Some multiplicative functions are defined to make formulas easier to write:
The above functions are all completely multiplicative.
Other examples of multiplicative functions include many functions of importance in number theory, such as:
An example of a non-multiplicative function is the arithmetic function r 2 ( n ) {\displaystyle r_{2}(n)} , the number of representations of n {\displaystyle 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 r 2 ( 1 ) = 4 ≠ 1 {\displaystyle r_{2}(1)=4\neq 1} . This shows that the function is not multiplicative. However, r 2 ( n ) / 4 {\displaystyle r_{2}(n)/4} is multiplicative.
In the On-Line Encyclopedia of Integer Sequences, sequences of values of a multiplicative function have the keyword "mult".[1]
See arithmetic function for some other examples of non-multiplicative functions.
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 ( 2 4 ) σ 0 ( 3 2 ) = ( 1 0 + 2 0 + 4 0 + 8 0 + 16 0 ) ( 1 0 + 3 0 + 9 0 ) = 5 ⋅ 3 = 15 {\displaystyle d(144)=\sigma _{0}(144)=\sigma _{0}(2^{4})\,\sigma _{0}(3^{2})=(1^{0}+2^{0}+4^{0}+8^{0}+16^{0})(1^{0}+3^{0}+9^{0})=5\cdot 3=15} σ ( 144 ) = σ 1 ( 144 ) = σ 1 ( 2 4 ) σ 1 ( 3 2 ) = ( 1 1 + 2 1 + 4 1 + 8 1 + 16 1 ) ( 1 1 + 3 1 + 9 1 ) = 31 ⋅ 13 = 403 {\displaystyle \sigma (144)=\sigma _{1}(144)=\sigma _{1}(2^{4})\,\sigma _{1}(3^{2})=(1^{1}+2^{1}+4^{1}+8^{1}+16^{1})(1^{1}+3^{1}+9^{1})=31\cdot 13=403} σ ∗ ( 144 ) = σ ∗ ( 2 4 ) σ ∗ ( 3 2 ) = ( 1 1 + 16 1 ) ( 1 1 + 9 1 ) = 17 ⋅ 10 = 170 {\displaystyle \sigma ^{*}(144)=\sigma ^{*}(2^{4})\,\sigma ^{*}(3^{2})=(1^{1}+16^{1})(1^{1}+9^{1})=17\cdot 10=170}
Similarly, we have: φ ( 144 ) = φ ( 2 4 ) φ ( 3 2 ) = 8 ⋅ 6 = 48 {\displaystyle \varphi (144)=\varphi (2^{4})\,\varphi (3^{2})=8\cdot 6=48}
In general, if f(n) is a multiplicative function and a, b are any two positive integers, then
Every completely multiplicative function is a homomorphism of monoids and is completely determined by its restriction to the prime numbers.
If f and g are two multiplicative functions, one defines a new multiplicative function f ∗ g {\displaystyle f*g} , the Dirichlet convolution of f and g, by ( f ∗ g ) ( n ) = ∑ d | n f ( d ) g ( n d ) {\displaystyle (f\,*\,g)(n)=\sum _{d|n}f(d)\,g\left({\frac {n}{d}}\right)} 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:
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 ∈ Z + {\displaystyle a,b\in \mathbb {Z} ^{+}} : ( f ∗ g ) ( a b ) = ∑ d | a b f ( d ) g ( a b d ) = ∑ d 1 | a ∑ d 2 | b f ( d 1 d 2 ) g ( a b d 1 d 2 ) = ∑ d 1 | a f ( d 1 ) g ( a d 1 ) × ∑ d 2 | b f ( d 2 ) g ( b d 2 ) = ( f ∗ g ) ( a ) ⋅ ( f ∗ g ) ( b ) . {\displaystyle {\begin{aligned}(f\ast g)(ab)&=\sum _{d|ab}f(d)g\left({\frac {ab}{d}}\right)\\&=\sum _{d_{1}|a}\sum _{d_{2}|b}f(d_{1}d_{2})g\left({\frac {ab}{d_{1}d_{2}}}\right)\\&=\sum _{d_{1}|a}f(d_{1})g\left({\frac {a}{d_{1}}}\right)\times \sum _{d_{2}|b}f(d_{2})g\left({\frac {b}{d_{2}}}\right)\\&=(f\ast g)(a)\cdot (f\ast g)(b).\end{aligned}}}
More examples are shown in the article on Dirichlet series.
An arithmetical function f is said to be a rational arithmetical function of order ( r , s ) {\displaystyle (r,s)} if there exists completely multiplicative functions g1,...,gr, h1,...,hs such that f = g 1 ∗ ⋯ ∗ g r ∗ h 1 − 1 ∗ ⋯ ∗ h s − 1 , {\displaystyle f=g_{1}\ast \cdots \ast g_{r}\ast h_{1}^{-1}\ast \cdots \ast h_{s}^{-1},} where the inverses are with respect to the Dirichlet convolution. Rational arithmetical functions of order ( 1 , 1 ) {\displaystyle (1,1)} are known as totient functions, and rational arithmetical functions of order ( 2 , 0 ) {\displaystyle (2,0)} are known as quadratic functions or specially multiplicative functions. Euler's function φ ( n ) {\displaystyle \varphi (n)} is a totient function, and the divisor function σ k ( n ) {\displaystyle \sigma _{k}(n)} is a quadratic function. Completely multiplicative functions are rational arithmetical functions of order ( 1 , 0 ) {\displaystyle (1,0)} . Liouville's function λ ( n ) {\displaystyle \lambda (n)} is completely multiplicative. The Möbius function μ ( n ) {\displaystyle \mu (n)} is a rational arithmetical function of order ( 0 , 1 ) {\displaystyle (0,1)} . By convention, the identity element ε {\displaystyle \varepsilon } under the Dirichlet convolution is a rational arithmetical function of order ( 0 , 0 ) {\displaystyle (0,0)} .
All rational arithmetical functions are multiplicative. A multiplicative function f is a rational arithmetical function of order ( r , s ) {\displaystyle (r,s)} if and only if its Bell series is of the form f p ( x ) = ∑ n = 0 ∞ f ( p n ) x n = ( 1 − h 1 ( p ) x ) ( 1 − h 2 ( p ) x ) ⋯ ( 1 − h s ( p ) x ) ( 1 − g 1 ( p ) x ) ( 1 − g 2 ( p ) x ) ⋯ ( 1 − g r ( p ) x ) {\displaystyle {\displaystyle f_{p}(x)=\sum _{n=0}^{\infty }f(p^{n})x^{n}={\frac {(1-h_{1}(p)x)(1-h_{2}(p)x)\cdots (1-h_{s}(p)x)}{(1-g_{1}(p)x)(1-g_{2}(p)x)\cdots (1-g_{r}(p)x)}}}} for all prime numbers p {\displaystyle p} .
The concept of a rational arithmetical function originates from R. Vaidyanathaswamy (1931).
A multiplicative function f {\displaystyle f} is said to be specially multiplicative if there is a completely multiplicative function f A {\displaystyle f_{A}} such that
for all positive integers m {\displaystyle m} and n {\displaystyle n} , or equivalently
for all positive integers m {\displaystyle m} and n {\displaystyle n} , where μ {\displaystyle \mu } is the Möbius function. These are known as Busche-Ramanujan identities. In 1906, E. Busche stated the identity
and, in 1915, S. Ramanujan gave the inverse form
for k = 0 {\displaystyle k=0} . S. Chowla gave the inverse form for general k {\displaystyle k} in 1929, see P. J. McCarthy (1986). The study of Busche-Ramanujan identities begun from an attempt to better understand the special cases given by Busche and Ramanujan.
It is known that quadratic functions f = g 1 ∗ g 2 {\displaystyle f=g_{1}\ast g_{2}} satisfy the Busche-Ramanujan identities with f A = g 1 g 2 {\displaystyle f_{A}=g_{1}g_{2}} . Quadratic functions are exactly the same as specially multiplicative functions. Totients satisfy a restricted Busche-Ramanujan identity. For further details, see R. Vaidyanathaswamy (1931).
Let A = Fq[X], the polynomial ring over the finite field with q elements. A is a principal ideal domain and therefore A is a unique factorization domain.
A complex-valued function λ {\displaystyle \lambda } on A is called multiplicative if λ ( f g ) = λ ( f ) λ ( g ) {\displaystyle \lambda (fg)=\lambda (f)\lambda (g)} whenever f and g are relatively prime.
Let h be a polynomial arithmetic function (i.e. a function on set of monic polynomials over A). Its corresponding Dirichlet series is defined to be
where for g ∈ A , {\displaystyle g\in A,} set | g | = q deg ( g ) {\displaystyle |g|=q^{\deg(g)}} if g ≠ 0 , {\displaystyle g\neq 0,} and | g | = 0 {\displaystyle |g|=0} otherwise.
The polynomial zeta function is then
Similar to the situation in N, every Dirichlet series of a multiplicative function h has a product representation (Euler product):
where the product runs over all monic irreducible polynomials P. For example, the product representation of the zeta function is as for the integers:
Unlike the classical zeta function, ζ A ( s ) {\displaystyle \zeta _{A}(s)} is a simple rational function:
In a similar way, If f and g are two polynomial arithmetic functions, one defines f * g, the Dirichlet convolution of f and g, by
where the sum is over all monic divisors d of m, or equivalently over all pairs (a, b) of monic polynomials whose product is m. The identity D h D g = D h ∗ g {\displaystyle D_{h}D_{g}=D_{h*g}} still holds.
Multivariate functions can be constructed using multiplicative model estimators. Where a matrix function of A is defined as D N = N 2 × N ( N + 1 ) / 2 {\displaystyle D_{N}=N^{2}\times N(N+1)/2}
a sum can be distributed across the product y t = ∑ ( t / T ) 1 / 2 u t = ∑ ( t / T ) 1 / 2 G t 1 / 2 ϵ t {\displaystyle y_{t}=\sum (t/T)^{1/2}u_{t}=\sum (t/T)^{1/2}G_{t}^{1/2}\epsilon _{t}}
For the efficient estimation of Σ(.), the following two nonparametric regressions can be considered: y ~ t 2 = y t 2 g t = σ 2 ( t / T ) + σ 2 ( t / T ) ( ϵ t 2 − 1 ) , {\displaystyle {\tilde {y}}_{t}^{2}={\frac {y_{t}^{2}}{g_{t}}}=\sigma ^{2}(t/T)+\sigma ^{2}(t/T)(\epsilon _{t}^{2}-1),}
and y t 2 = σ 2 ( t / T ) + σ 2 ( t / T ) ( g t ϵ t 2 − 1 ) . {\displaystyle y_{t}^{2}=\sigma ^{2}(t/T)+\sigma ^{2}(t/T)(g_{t}\epsilon _{t}^{2}-1).}
Thus it gives an estimate value of L t ( τ ; u ) = ∑ t = 1 T K h ( u − t / T ) [ l n τ + y t 2 g t τ ] {\displaystyle L_{t}(\tau ;u)=\sum _{t=1}^{T}K_{h}(u-t/T){\begin{bmatrix}ln\tau +{\frac {y_{t}^{2}}{g_{t}\tau }}\end{bmatrix}}}
with a local likelihood function for y t 2 {\displaystyle y_{t}^{2}} with known g t {\displaystyle g_{t}} and unknown σ 2 ( t / T ) {\displaystyle \sigma ^{2}(t/T)} .
An arithmetical function f {\displaystyle f} is quasimultiplicative if there exists a nonzero constant c {\displaystyle c} such that c f ( m n ) = f ( m ) f ( n ) {\displaystyle c\,f(mn)=f(m)f(n)} for all positive integers m , n {\displaystyle m,n} with ( m , n ) = 1 {\displaystyle (m,n)=1} . This concept originates by Lahiri (1972).
An arithmetical function f {\displaystyle f} is semimultiplicative if there exists a nonzero constant c {\displaystyle c} , a positive integer a {\displaystyle a} and a multiplicative function f m {\displaystyle f_{m}} such that f ( n ) = c f m ( n / a ) {\displaystyle f(n)=cf_{m}(n/a)} for all positive integers n {\displaystyle n} (under the convention that f m ( x ) = 0 {\displaystyle f_{m}(x)=0} if x {\displaystyle x} is not a positive integer.) This concept is due to David Rearick (1966).
An arithmetical function f {\displaystyle f} is Selberg multiplicative if for each prime p {\displaystyle p} there exists a function f p {\displaystyle f_{p}} on nonnegative integers with f p ( 0 ) = 1 {\displaystyle f_{p}(0)=1} for all but finitely many primes p {\displaystyle p} such that f ( n ) = ∏ p f p ( ν p ( n ) ) {\displaystyle f(n)=\prod _{p}f_{p}(\nu _{p}(n))} for all positive integers n {\displaystyle n} , where ν p ( n ) {\displaystyle \nu _{p}(n)} is the exponent of p {\displaystyle p} in the canonical factorization of n {\displaystyle n} . See Selberg (1977).
It is known that the classes of semimultiplicative and Selberg multiplicative functions coincide. They both satisfy the arithmetical identity f ( m ) f ( n ) = f ( ( m , n ) ) f ( [ m , n ] ) {\displaystyle f(m)f(n)=f((m,n))f([m,n])} for all positive integers m , n {\displaystyle m,n} . See Haukkanen (2012).
It is well known and easy to see that multiplicative functions are quasimultiplicative functions with c = 1 {\displaystyle c=1} and quasimultiplicative functions are semimultiplicative functions with a = 1 {\displaystyle a=1} .