multiplicativefunction
A multiplicative function is an arithmetic function f from the positive integers to the complex numbers that satisfies f(1) = 1 and f(mn) = f(m) f(n) whenever m and n are coprime. This property makes the function determined by its values at prime powers, since every n factors into primes as n = ∏ p^a, and f(n) = ∏ f(p^a).
A closely related notion is a completely multiplicative function, where the condition f(mn) = f(m) f(n) holds
Examples of multiplicative functions include the identity function id(n) = n, the divisor-counting function d(n) (or τ(n))
Key properties include the fact that a multiplicative function is completely determined by its values on primes
See also: completely multiplicative, Euler product, Dirichlet convolution, arithmetic function.