# Completely multiplicative function

In number theory, functions of positive integers which respect products are important and are called **completely multiplicative functions** or **totally multiplicative functions**. A weaker condition is also important, respecting only products of coprime numbers, and such functions are called multiplicative functions. Outside of number theory, the term "multiplicative function" is often taken to be synonymous with "completely multiplicative function" as defined in this article.

## Definition

A **completely multiplicative function** (or **totally multiplicative function**) is an arithmetic function (that is, a function whose domain is the natural numbers), such that *f*(1) = 1 and *f*(*ab*) = *f*(*a*)*f*(*b*) holds *for all* positive integers *a* and *b*.[1]

Without the requirement that *f*(1) = 1, one could still have *f*(1) = 0, but then *f*(*a*) = 0 for all positive integers *a*, so this is not a very strong restriction.

The definition above can be rephrased using the language of algebra: A completely multiplicative function is a homomorphism from the monoid (that is, the positive integers under multiplication) to some other monoid.

## Examples

The easiest example of a completely multiplicative function is a monomial with leading coefficient 1: For any particular positive integer *n*, define *f*(*a*) = *a*^{n}. Then *f*(*bc*) = (*bc*)^{n} = *b*^{n}*c*^{n} = *f*(*b*)*f*(*c*), and *f*(1) = 1^{n} = 1.

The Liouville function is a non-trivial example of a completely multiplicative function as are Dirichlet characters, the Jacobi symbol and the Legendre symbol.

## Properties

A completely multiplicative function is completely determined by its values at the prime numbers, a consequence of the fundamental theorem of arithmetic. Thus, if *n* is a product of powers of distinct primes, say *n* = *p*^{a} *q*^{b} ..., then *f*(*n*) = *f*(*p*)^{a} *f*(*q*)^{b} ...

While the Dirichlet convolution of two multiplicative functions is multiplicative, the Dirichlet convolution of two completely multiplicative functions need not be completely multiplicative.

There are a variety of statements about a function which are equivalent to it being completely multiplicative. For example, if a function *f* is multiplicative then it is completely multiplicative if and only if its Dirichlet inverse is where is the Möbius function.[2]

Completely multiplicative functions also satisfy a distributive law. If *f* is completely multiplicative then

where *** represents the Dirichlet product and represents pointwise multiplication.[3] One consequence of this is that for any completely multiplicative function *f* one has

which can be deduced from the above by putting both , where is the constant function. Here is the divisor function.

### Proof of distributive property

### Dirichlet series

The L-function of completely (or totally) multiplicative Dirichlet series satisfies

which means that the sum all over the natural numbers is equal to the product all over the prime numbers.

## References

- Apostol, Tom (1976).
*Introduction to Analytic Number Theory*. Springer. pp. 30. ISBN 0-387-90163-9. - Apostol, p. 36
- Apostol pg. 49