Multiplicative Functions

How many divisors does 360360 have? Can we find that number without listing them all? A student factors 360=23⋅32⋅5360 = 2^3 \cdot 3^2 \cdot 5. They compute (3+1)(2+1)(1+1)=24(3+1)(2+1)(1+1) = 24. Whether or not they realize it, they've exploited a deep structural fact. Many natural functions on the positive integers respect multiplication of coprime numbers. This property is called multiplicativity. It converts an arithmetic function, defined a priori on all of N\mathbb{N}, into something else. It becomes an object completely determined by its values on prime powers. Those values are usually trivial to compute. The idea matters for a key reason. The positive integers are built from primes via the Fundamental Theorem of Arithmetic. Multiplicative functions are precisely those arithmetic functions compatible with this multiplicative structure. Once we know a function is multiplicative, something remarkable happens. An infinite amount of information — its value at every integer — collapses dramatically. It reduces to a much smaller amount of information: its values at prime powers p,p2,p3,…p, p^2, p^3, \ldots for each prime pp. This is the mechanism behind formulas for the divisor count d(n)d(n), the sum of divisors σ(n)\sigma(n), and Euler's totient φ(n)\varphi(n). It is also the algebraic backbone underlying Dirichlet Convolution. Here is the big picture. Arithmetic functions form a vast, largely unstructured space. But multiplicativity carves out a subspace with rich internal structure. This subspace is closed under pointwise operations in limited ways. It is beautifully closed under Dirichlet convolution, though. It is also fully parametrized by an Euler product over primes. This turns hard combinatorial questions about all integers into easy local questions, one prime at a time. This article gives precise definitions of multiplicative and completely multiplicative functions. It proves the reduction theorem that pins a multiplicative function down by its prime-power values. It also proves a companion fact: a function is determined by, and can be reconstructed from, data at prime powers alone via unique factorization. Along the way we build intuition and a toolkit. This includes worked examples, a careful counterexample showing why the coprimality hypothesis cannot be dropped, and a look at where this machinery reappears throughout mathematics.

Key takeaways
  • A function f:N→Cf:\mathbb{N}\to\mathbb{C} is multiplicative if f(1)=1f(1)=1 and f(mn)=f(m)f(n)f(mn)=f(m)f(n) whenever gcd⁡(m,n)=1\gcd(m,n)=1.
  • It is completely multiplicative if that identity holds for all m,nm,n, no coprimality needed.
  • Multiplicativity plus unique factorization forces f(n)=∏if(piai)f(n) = \prod_i f(p_i^{a_i}) for n=∏ipiain=\prod_i p_i^{a_i}: prime powers determine everything.
  • Completely multiplicative functions are even simpler: f(pa)=f(p)af(p^a) = f(p)^a, so a single value per prime suffices.
  • Classic examples: d(n)d(n), σ(n)\sigma(n), φ(n)\varphi(n), μ(n)\mu(n) are multiplicative but not completely multiplicative; nsn^s and the constant function 11 are completely multiplicative.
  • Key idea: coprimality of the arguments is exactly the hypothesis that makes prime-power data suffice to reconstruct the whole function.

Where this lives today

The reduction of multiplicative functions to prime-power data is the computational engine behind essentially every classical arithmetic function: the divisor function d(n)d(n) and sum-of-divisors σ(n)\sigma(n) (see The Divisor and Sigma Functions), Euler's totient φ(n)\varphi(n) (see The Euler Totient Function), and the Möbius function μ(n)\mu(n) all owe their tractability to being multiplicative. The algebraic structure this induces — Dirichlet Convolution, under which multiplicative functions form a group — is the backbone of analytic number theory, where Euler products ∑f(n)n−s=∏p(⋯ )\sum f(n) n^{-s} = \prod_p (\cdots) translate additive information about all integers into local information at each prime, the technique underlying the analytic proof of the Prime Number Theorem and the study of the Riemann zeta function and Dirichlet LL-functions. Beyond pure number theory, multiplicativity underlies fast algorithms in computer science and cryptography: computing Euler's totient for RSA key generation reduces to factoring nn and multiplying prime-power totients, exactly the mechanism proved above, making key generation efficient once factorization is known (and correspondingly hard to invert without it). In combinatorics, multiplicative structure governs counting problems on integer partitions and divisor lattices, where generating functions factor as Euler products over primes. In algebraic number theory, multiplicative arithmetic functions generalize to ideal-theoretic norms in number fields, and the same prime-power reduction underlies local-global principles used throughout the theory of LL-functions and modular forms.

Ask the tutor: How do I prove that Dirichlet convolution of two multiplicative functions is again multiplicative, using this reduction theorem?

DefinitionMultiplicative and completely multiplicative functions

Let f:N→Cf:\mathbb{N}\to\mathbb{C} be an arithmetic function, where N={1,2,3,…}\mathbb{N} = \{1,2,3,\ldots\}. 1. ff is multiplicative if ff is not identically zero and

f(mn)=f(m)f(n)for all m,n∈N with gcd⁡(m,n)=1.f(mn) = f(m)f(n) \quad \text{for all } m,n\in\mathbb{N} \text{ with } \gcd(m,n)=1.

2. ff is completely multiplicative if ff is not identically zero and

f(mn)=f(m)f(n)for all m,n∈N,f(mn) = f(m)f(n) \quad \text{for all } m,n \in \mathbb{N},

with no coprimality restriction. Every completely multiplicative function is multiplicative, since the defining identity for complete multiplicativity holds in particular when gcd⁡(m,n)=1\gcd(m,n)=1.

Intuition

Think of the positive integers as being assembled, brick by brick, from primes: unique factorization says n=p1a1p2a2⋯pkakn = p_1^{a_1} p_2^{a_2}\cdots p_k^{a_k} in exactly one way (up to order). A general function on N\mathbb{N} need not respect this construction at all — its value at nn could depend on nn in some way totally unrelated to its prime factorization. Multiplicativity is the demand that ff "sees" the assembly process: if you build nn by gluing together two coprime pieces m1m_1 and m2m_2 (pieces sharing no prime factors), then ff of the whole is the product of ff of the pieces. The coprimality condition is essential, and it is exactly what lets us split nn along its distinct prime factors. Since p1a1,p2a2,…,pkakp_1^{a_1}, p_2^{a_2}, \ldots, p_k^{a_k} are pairwise coprime (they involve disjoint sets of primes), multiplicativity lets us peel them apart one at a time: f(n)=f(p1a1) f(p2a2⋯pkak)=⋯=f(p1a1)⋯f(pkak)f(n) = f(p_1^{a_1})\,f(p_2^{a_2}\cdots p_k^{a_k}) = \cdots = f(p_1^{a_1})\cdots f(p_k^{a_k}). So the entire infinite table of values f(1),f(2),f(3),…f(1), f(2), f(3), \ldots collapses to a much shorter list: the values f(pa)f(p^a) for each prime pp and exponent a≥1a \ge 1, together with f(1)=1f(1)=1. Picture this as a two-dimensional grid, one row per prime, one column per exponent. A multiplicative function is fully specified by filling in this grid — freely, with no constraint linking different primes — and then multiplying across the rows corresponding to the primes dividing nn. Complete multiplicativity is a further collapse: within each row the entries f(p),f(p2),f(p3),…f(p), f(p^2), f(p^3),\ldots must themselves be f(p),f(p)2,f(p)3,…f(p), f(p)^2, f(p)^3, \ldots, a geometric progression, so one number per prime is enough.

Figure
Building f(360) from prime-power data via unique factorization
360 = 2³ · 3² · 5, pairwise coprime factors 2³ = 8 3² = 9 5¹ = 5 f(8) f(9) f(5) f(360) = f(8)·f(9)·f(5)
TheoremReduction of multiplicative functions to prime powers

Let ff be a multiplicative function. Then: 1. f(1)=1f(1) = 1. 2. If n=p1a1p2a2⋯pkakn = p_1^{a_1} p_2^{a_2}\cdots p_k^{a_k} is the prime factorization of n≥2n \ge 2 (the pip_i distinct primes, ai≥1a_i \ge 1), then

f(n)=f(p1a1) f(p2a2)⋯f(pkak).f(n) = f(p_1^{a_1})\, f(p_2^{a_2}) \cdots f(p_k^{a_k}).

3. Conversely, if gg is any function assigning a value g(p,a)∈Cg(p,a) \in \mathbb{C} to each pair (prime pp, integer a≥1a\ge 1), then there is a unique multiplicative function ff with f(pa)=g(p,a)f(p^a) = g(p,a) for all such pairs; it is given by the formula in (2) (with f(1):=1f(1):=1). Consequently, a multiplicative function is completely and uniquely determined by its values at prime powers, and any assignment of values at prime powers extends to exactly one multiplicative function.

Lemma (complete multiplicativity on prime powers). If ff is completely multiplicative, then for every prime pp and integer a≥1a \ge 1,

f(pa)=f(p)a.f(p^a) = f(p)^a.

Hence a completely multiplicative function is determined by its values at the primes alone, via f(n)=f(p1)a1⋯f(pk)akf(n) = f(p_1)^{a_1}\cdots f(p_k)^{a_k}.

Proof

We prove each part in turn, using induction and the uniqueness of prime factorization as the only structural inputs.

(1) f(1)=1f(1) = 1. Since ff is multiplicative, ff is not identically zero, so there exists N∈NN \in \mathbb{N} with f(N)≠0f(N) \neq 0. Since gcd⁡(1,N)=1\gcd(1,N) = 1, multiplicativity gives

f(N)=f(1⋅N)=f(1)f(N).f(N) = f(1 \cdot N) = f(1) f(N).

Dividing both sides by the nonzero number f(N)f(N) yields f(1)=1f(1) = 1.

(2) Factorization formula. We induct on the number of distinct prime factors kk of nn. Base case k=1k=1: here n=p1a1n = p_1^{a_1} is itself a prime power, and the claimed identity f(n)=f(p1a1)f(n) = f(p_1^{a_1}) is a tautology. Base case k=0k=0 (i.e. n=1n=1) is part (1). Inductive step: suppose the formula holds for every integer with fewer than kk distinct prime factors, and let n=p1a1⋯pkakn = p_1^{a_1}\cdots p_k^{a_k} have exactly k≥2k \ge 2 distinct prime factors. Write

n=p1a1⋅m,m:=p2a2⋯pkak.n = p_1^{a_1} \cdot m, \qquad m := p_2^{a_2}\cdots p_k^{a_k}.

Because p1p_1 does not divide mm (the prime factorization of mm involves only p2,…,pkp_2,\ldots,p_k, all distinct from p1p_1), and p1a1p_1^{a_1} is a power of p1p_1 alone, we have gcd⁡(p1a1,m)=1\gcd(p_1^{a_1}, m) = 1. This is where unique factorization is used: the set of primes dividing p1a1p_1^{a_1} is {p1}\{p_1\}, and the set of primes dividing mm is {p2,…,pk}\{p_2,\ldots,p_k\}, and these are disjoint, so no prime divides both, forcing gcd⁡(p1a1,m)=1\gcd(p_1^{a_1},m)=1. Multiplicativity of ff applied to the coprime pair (p1a1,m)(p_1^{a_1}, m) gives

f(n)=f(p1a1⋅m)=f(p1a1) f(m).f(n) = f(p_1^{a_1} \cdot m) = f(p_1^{a_1})\, f(m).

Now mm has exactly k−1k-1 distinct prime factors, so the inductive hypothesis applies to mm:

f(m)=f(p2a2)⋯f(pkak).f(m) = f(p_2^{a_2})\cdots f(p_k^{a_k}).

Substituting,

f(n)=f(p1a1) f(p2a2)⋯f(pkak),f(n) = f(p_1^{a_1})\, f(p_2^{a_2}) \cdots f(p_k^{a_k}),

completing the induction. Note this argument never invokes the value of ff at a non-prime-power composite, so there is no circularity.

(3) Existence and uniqueness of the extension. Uniqueness is immediate from (2): if ff is multiplicative and matches gg on prime powers, then formula (2) expresses f(n)f(n) for every n≥2n \ge 2 purely in terms of the values g(pi,ai)g(p_i,a_i), and f(1)=1f(1)=1 is forced by (1); so ff is completely pinned down by gg, with no freedom left. Existence: define f(1):=1f(1) := 1, and for n≥2n\ge 2 with prime factorization n=p1a1⋯pkakn = p_1^{a_1}\cdots p_k^{a_k}, define

f(n):=g(p1,a1)⋯g(pk,ak).f(n) := g(p_1,a_1) \cdots g(p_k,a_k).

This is well-defined because the prime factorization of nn is unique up to the order of factors (Fundamental Theorem of Arithmetic), and multiplication of complex numbers is commutative, so reordering the pip_i does not change the product. We must check ff is multiplicative, i.e. that f(1)=1f(1)=1 (true by definition) and f(mn)=f(m)f(n)f(mn) = f(m)f(n) whenever gcd⁡(m,n)=1\gcd(m,n)=1. Let gcd⁡(m,n)=1\gcd(m,n)=1 with m,n≥1m,n \ge 1. If m=1m=1 or n=1n=1 the identity is trivial since f(1)=1f(1)=1. Otherwise write the prime factorizations

m=q1b1⋯qrbr,n=qr+1br+1⋯qr+sbr+s,m = q_1^{b_1}\cdots q_r^{b_r}, \qquad n = q_{r+1}^{b_{r+1}} \cdots q_{r+s}^{b_{r+s}},

where q1,…,qrq_1,\ldots,q_r are the distinct primes dividing mm and qr+1,…,qr+sq_{r+1},\ldots,q_{r+s} those dividing nn. Since gcd⁡(m,n)=1\gcd(m,n)=1, no prime divides both mm and nn, so {q1,…,qr}\{q_1,\ldots,q_r\} and {qr+1,…,qr+s}\{q_{r+1},\ldots,q_{r+s}\} are disjoint; hence

mn=q1b1⋯qrbrqr+1br+1⋯qr+sbr+smn = q_1^{b_1}\cdots q_r^{b_r} q_{r+1}^{b_{r+1}}\cdots q_{r+s}^{b_{r+s}}

is exactly the prime factorization of mnmn (all r+sr+s primes are distinct). By the defining formula for ff,

f(mn)=∏i=1r+sg(qi,bi)=(∏i=1rg(qi,bi))(∏i=r+1r+sg(qi,bi))=f(m) f(n).f(mn) = \prod_{i=1}^{r+s} g(q_i,b_i) = \left(\prod_{i=1}^r g(q_i,b_i)\right)\left(\prod_{i=r+1}^{r+s} g(q_i,b_i)\right) = f(m)\,f(n).

Finally ff is not identically zero, e.g. f(1)=1≠0f(1)=1\neq 0. So ff is multiplicative, and by construction f(pa)=g(p,a)f(p^a) = g(p,a) for every prime power. This proves existence, completing part (3).

Lemma. Let ff be completely multiplicative and fix a prime pp. We show f(pa)=f(p)af(p^a) = f(p)^a by induction on aa. For a=1a=1 this is trivial. Suppose f(pa−1)=f(p)a−1f(p^{a-1}) = f(p)^{a-1} for some a≥2a \ge 2. Complete multiplicativity applies to any pair m,nm,n, in particular to m=pa−1,n=pm=p^{a-1}, n=p (which need not be coprime, and indeed gcd⁡(pa−1,p)=p≠1\gcd(p^{a-1},p)=p\ne 1 when a≥2a\ge2; this is precisely why we need the complete hypothesis here, not mere multiplicativity):

f(pa)=f(pa−1⋅p)=f(pa−1)f(p)=f(p)a−1f(p)=f(p)a.f(p^a) = f(p^{a-1}\cdot p) = f(p^{a-1}) f(p) = f(p)^{a-1} f(p) = f(p)^a.

This completes the induction, proving the lemma. Combining with part (2) (which applies since complete multiplicativity implies multiplicativity), for n=p1a1⋯pkakn = p_1^{a_1}\cdots p_k^{a_k},

f(n)=f(p1a1)⋯f(pkak)=f(p1)a1⋯f(pk)ak.■f(n) = f(p_1^{a_1})\cdots f(p_k^{a_k}) = f(p_1)^{a_1}\cdots f(p_k)^{a_k}. \qquad \blacksquare
∎

Worked examples

Example 1: Reconstructing σ(n)\sigma(n), the sum-of-divisors function, at n=22⋅3⋅72=588n = 2^2\cdot 3 \cdot 7^2 = 588. The function σ(n)=∑d∣nd\sigma(n) = \sum_{d\mid n} d is known to be multiplicative (proved in the article on The Divisor and Sigma Functions); here we simply use the reduction theorem to compute it efficiently, illustrating the payoff of Part (2). First find σ\sigma at each prime power appearing in 588=22⋅31⋅72588 = 2^2\cdot 3^1\cdot 7^2:

  • σ(22)=1+2+4=7\sigma(2^2) = 1+2+4 = 7,
  • σ(31)=1+3=4\sigma(3^1) = 1+3 = 4,
  • σ(72)=1+7+49=57\sigma(7^2) = 1+7+49 = 57.

Since the theorem guarantees σ(588)=σ(22) σ(3) σ(72)\sigma(588) = \sigma(2^2)\,\sigma(3)\,\sigma(7^2) (the three prime-power factors 4,3,494, 3, 49 are pairwise coprime, and their product is 588588), we get

σ(588)=7⋅4⋅57=1596.\sigma(588) = 7\cdot 4\cdot 57 = 1596.

As a check, one can note the closed formula σ(pa)=pa+1−1p−1\sigma(p^a) = \frac{p^{a+1}-1}{p-1}, giving σ(4)=23−11=7\sigma(4) = \frac{2^3-1}{1}=7, σ(3)=32−12=4\sigma(3)=\frac{3^2-1}{2}=4, σ(49)=73−16=3426=57\sigma(49) = \frac{7^3-1}{6} = \frac{342}{6}=57, matching. Note that had we instead tried σ(588)σ(84)σ(7)\sigma(588) \overset{?}{=} \sigma(84)\sigma(7) (splitting as 84×784\times 7), this would be invalid: 84=22⋅3⋅784 = 2^2\cdot3\cdot7 and 77 share the common factor 77, so gcd⁡(84,7)=7≠1\gcd(84,7)=7\ne1, and multiplicativity simply does not apply to that split. This is exactly the coprimality hypothesis at work: only the split into prime-power pieces is guaranteed to be usable.

Example 2: A completely multiplicative function versus a merely multiplicative one, evaluated at n=23⋅52=200n = 2^3\cdot 5^2 = 200. Let χ(n)=(−1)n−1\chi(n) = (-1)^{n-1} if nn is odd and χ(n)=0\chi(n)=0 if nn is even — no, take instead a cleaner completely multiplicative example: let

f(n)=n2,f(n) = n^2,

the squaring function, and compare it against Euler's totient φ(n)\varphi(n), which is multiplicative but not completely multiplicative. Squaring is completely multiplicative. For any m,n≥1m,n\ge1 (coprime or not), f(mn)=(mn)2=m2n2=f(m)f(n)f(mn) = (mn)^2 = m^2 n^2 = f(m) f(n), and f(1)=1f(1) = 1. So by the Lemma, f(pa)=f(p)a=(p2)a=p2af(p^a) = f(p)^a = (p^2)^a = p^{2a}, consistent with the direct computation f(pa)=(pa)2=p2af(p^a) = (p^a)^2 = p^{2a}. At n=200=23⋅52n = 200 = 2^3 \cdot 5^2:

f(200)=f(23) f(52)=22⋅3⋅52⋅2=26⋅54=64⋅625=40000=2002,f(200) = f(2^3)\,f(5^2) = 2^{2\cdot3}\cdot 5^{2\cdot2} = 2^6 \cdot 5^4 = 64\cdot 625 = 40000 = 200^2,

consistent, and here we could equally have used f(p)=p2f(p)=p^2 directly: f(2)3f(5)2=43⋅252=64⋅625=40000f(2)^3 f(5)^2 = 4^3\cdot 25^2 = 64\cdot 625=40000. Complete multiplicativity means one number per prime (f(2)=4f(2)=4, f(5)=25f(5)=25) suffices, with exponents just along for the ride. Totient is not completely multiplicative. Recall φ(pa)=pa−pa−1=pa−1(p−1)\varphi(p^a) = p^a - p^{a-1} = p^{a-1}(p-1) (proved in the article on The Euler Totient Function). At the same n=200n=200:

φ(200)=φ(23) φ(52)=(23−22)(52−51)=(8−4)(25−5)=4⋅20=80.\varphi(200) = \varphi(2^3)\,\varphi(5^2) = (2^3-2^2)(5^2-5^1) = (8-4)(25-5) = 4\cdot 20 = 80.

Now test whether φ(pa)φ(p)a\varphi(p^a) \overset{?}{=} \varphi(p)^a, the complete-multiplicativity signature from the Lemma. Take p=2,a=3p=2,a=3: φ(23)=4\varphi(2^3) = 4, but φ(2)3=13=1≠4\varphi(2)^3 = 1^3 = 1 \ne 4. So φ\varphi fails the Lemma's conclusion, and indeed φ\varphi is not completely multiplicative — even though it is multiplicative, and Part (2) of the theorem still applies to it perfectly well (as just used). This contrast is the point: multiplicativity guarantees reduction to prime powers; complete multiplicativity further reduces prime powers to primes, and φ\varphi only enjoys the weaker property.

CounterexampleDropping coprimality collapses the whole theory

The hypothesis gcd⁡(m,n)=1\gcd(m,n)=1 in the definition of multiplicativity is not a technical nicety — without it, the reduction theorem is false and the very notion of "value determined by prime powers" breaks down. To see this concretely, consider φ\varphi, Euler's totient, which is genuinely multiplicative (in the strict sense with the coprimality restriction). Test the identity f(mn)=f(m)f(n)f(mn)=f(m)f(n) on the non-coprime pair m=n=2m=n=2:

φ(2⋅2)=φ(4)=2,φ(2)φ(2)=1⋅1=1.\varphi(2\cdot 2) = \varphi(4) = 2, \qquad \varphi(2)\varphi(2) = 1\cdot 1 = 1.

These disagree: 2≠12 \ne 1. So the multiplicative identity genuinely fails once we drop the coprimality condition and demand it for all pairs m,nm,n — which is precisely why φ\varphi is multiplicative but not completely multiplicative, and why Part 2 of the theorem is stated with a factorization into pairwise coprime prime-power pieces piaip_i^{a_i}, never an arbitrary factorization into two possibly non-coprime pieces. Concretely, if one attempted to prove "f(mn)=f(m)f(n)f(mn)=f(m)f(n) for all m,nm,n" as a blanket property of every multiplicative function (i.e., tried to erase the hypothesis in the theorem statement), the inductive step in the proof of Part (2) would be unjustified: the key move was gcd⁡(p1a1,m)=1\gcd(p_1^{a_1},m)=1, guaranteed only because mm's prime factors are disjoint from p1p_1. If we instead tried to split n=23⋅32⋅5n=2^3\cdot 3^2 \cdot 5 as, say, 6×606 \times 60 (i.e. 2⋅32\cdot3 times 22⋅3⋅52^2\cdot3\cdot5), these share the factors 22 and 33, so gcd⁡(6,60)=6≠1\gcd(6,60)=6\ne1, and there is no license to write f(360)=f(6)f(60)f(360)=f(6)f(60) for a merely multiplicative ff. Indeed for f=φf=\varphi: φ(360)=96\varphi(360)=96, while φ(6)φ(60)=2⋅16=32≠96\varphi(6)\varphi(60)=2\cdot16=32\ne96. This confirms that unrestricted splitting fails, and only the coprime, prime-power splitting used in the theorem is valid.

Scope, edge cases & common traps

SituationWhat holdsWhat can fail
ff multiplicative, gcd⁡(m,n)=1\gcd(m,n)=1f(mn)=f(m)f(n)f(mn)=f(m)f(n) always—
ff multiplicative, gcd⁡(m,n)>1\gcd(m,n)>1no general identityf(mn)=f(m)f(n)f(mn)=f(m)f(n) can be false (e.g. φ\varphi at m=n=2m=n=2)
ff completely multiplicativef(pa)=f(p)af(p^a)=f(p)^a; one value per prime suffices—
n=1n=1f(1)=1f(1)=1 forced for any multiplicative ffStudents sometimes forget this must be proved, not assumed
Pointwise sum f+gf+g of two multiplicative functionsusually not multiplicative(f+g)(1)=2≠1(f+g)(1) = 2 \ne 1 in general, already violating the definition
Extending values from primes alonefine for completely multiplicative ffFor merely multiplicative ff, values at pp alone do not determine f(p2),f(p3),…f(p^2), f(p^3),\ldots

The mathematician behind it

Origins · 1 minLeonhard Euler and how this was discovered
LE
Leonhard Euler
1707–1783 · Enlightenment-era Europe, working across St. Petersburg and Berlin

Euler did not use the modern vocabulary of "multiplicative function," which crystallized later, but he was the first to systematically exploit the phenomenon: his introduction of the totient function φ(n)\varphi(n), his formula for σ(n)\sigma(n) via divisor sums, and above all his discovery of the Euler product \sum_{n=1}^\infty \frac{f(n)}{n^s} = \prod_{p \text{ prime}} \left(1 + \frac{f(p)}{p^s} + \frac{f(p^2)}{p^{2s}} + \cdots \right) for multiplicative ff (most famously for f≡1f\equiv 1, giving the Euler product for the zeta function) is the direct analytic descendant of the reduction theorem proved here. Euler's genius was to see that unique factorization, translated into a statement about functions, becomes a statement about factoring an infinite series into an infinite product over primes — the seed of analytic number theory.

History
- 1737 — Euler proves the Euler product formula for ∑n−s\sum n^{-s}, implicitly using complete multiplicativity of the constant function 11.
- 1760s — Euler studies the totient function φ(n)\varphi(n) and its multiplicative behavior in the context of what is now Euler's theorem.
- 1801 — Gauss's Disquisitiones Arithmeticae systematizes divisor-sum and totient identities building on this multiplicative structure.
- 1830s–1850s — Dirichlet develops Dirichlet series and the convolution structure that formalizes multiplicative functions as an algebraic class.
- 1900s — the terminology "multiplicative function" and "completely multiplicative function" becomes standard in textbooks following Landau and later Hardy–Wright.
Why is f(1)=1f(1)=1 required in the definition rather than left to be derived case by case?

Requiring ff not identically zero and using gcd⁡(1,N)=1\gcd(1,N)=1 for some NN with f(N)≠0f(N)\ne 0, one can derive f(1)=1f(1)=1 from the multiplicative identity itself, as done in the proof above — so strictly the definition need only assume f≢0f\not\equiv 0 plus the multiplicative property, and f(1)=1f(1)=1 follows. Many textbooks instead build f(1)=1f(1)=1 directly into the definition for convenience, avoiding the (easy) derivation each time. Either convention is standard; the content is identical, since the derivation is a one-line consequence. What must never be dropped is some mechanism forcing f(1)=1f(1)=1, since without it the zero function would vacuously satisfy f(mn)=f(m)f(n)=0f(mn)=f(m)f(n)=0 for coprime m,nm,n, trivializing the definition.

Is the sum f+gf+g of two multiplicative functions multiplicative?

Generally no. Even setting aside the value at 11, take f=g=φf=g=\varphi: then (f+g)(1)=φ(1)+φ(1)=1+1=2≠1(f+g)(1) = \varphi(1)+\varphi(1) = 1+1=2 \ne 1, already violating the normalization condition in the definition. Even functions engineered to fix (f+g)(1)=1(f+g)(1)=1 typically fail the coprime-multiplicative identity, because (f+g)(mn)=f(mn)+g(mn)=f(m)f(n)+g(m)g(n)(f+g)(mn) = f(mn)+g(mn) = f(m)f(n)+g(m)g(n) generally does not factor as (f(m)+g(m))(f(n)+g(n))\big(f(m)+g(m)\big)\big(f(n)+g(n)\big). Multiplicative functions are not closed under pointwise addition; they are closed under pointwise multiplication and, more importantly, under Dirichlet Convolution, which is the operation that respects their structure.

If two multiplicative functions agree on all primes, must they agree everywhere?

Not necessarily — agreement on primes alone is not enough for merely multiplicative functions, only for completely multiplicative ones. For example, d(n)d(n) (divisor count) and any completely multiplicative function hh with h(p)=2h(p)=2 for every prime pp agree at every prime (d(p)=2=h(p)d(p)=2=h(p)), but d(4)=3d(4) = 3 while h(4)=h(2)2=4h(4) = h(2)^2 = 4, so they disagree at n=4n=4. Two multiplicative functions agree everywhere if and only if they agree at every prime power pap^a, by the reduction theorem; agreement at primes is strictly weaker unless both functions are additionally completely multiplicative.

Does multiplicativity say anything about f(m+n)f(m+n) or additive behavior?

No — multiplicativity is purely about the operation of multiplication of coprime arguments, and it makes no claim about sums. A function can be multiplicative and behave wildly under addition; for instance σ(n)\sigma(n) is multiplicative but σ(m+n)\sigma(m+n) has no simple formula in terms of σ(m)\sigma(m) and σ(n)\sigma(n) (e.g. σ(2)+σ(3)=3+4=7\sigma(2)+\sigma(3) = 3+4=7 while σ(5)=6≠7\sigma(5)=6\ne7). This is a different regime from additive arithmetic functions (where f(mn)=f(m)+f(n)f(mn)=f(m)+f(n) for coprime m,nm,n, as with log⁡\log restricted suitably, or the number of distinct prime factors ω(n)\omega(n)), which form a separate but analogous theory.

How does this connect to Dirichlet convolution?

Dirichlet convolution defines a new arithmetic function (f∗g)(n)=∑d∣nf(d) g(n/d)(f*g)(n) = \sum_{d\mid n} f(d)\,g(n/d) from two arithmetic functions f,gf,g. A key theorem, built directly on the reduction result proved here, states that if ff and gg are both multiplicative, so is f∗gf*g; the proof again reduces to checking the identity at prime powers, using unique factorization to separate divisors of pap^a from divisors of coprime cofactors. This makes the set of multiplicative functions closed under convolution and turns it into a group under ∗* with identity element ε(n)=[n=1]\varepsilon(n) = [n=1], a structure explored fully in Dirichlet Convolution.

Can a multiplicative function take the value 00 somewhere without being identically zero?

Yes, and this is common. For instance the Möbius function μ(n)\mu(n) is multiplicative with μ(p)=−1\mu(p)=-1 for every prime but μ(pa)=0\mu(p^a) = 0 for every a≥2a\ge 2 — so μ(4)=μ(9)=μ(12)=0\mu(4)=\mu(9)=\mu(12)=0, yet μ\mu is not the zero function since μ(1)=1≠0\mu(1)=1\ne 0 and μ(p)=−1≠0\mu(p)=-1\ne0. The definition only excludes ff being identically zero on all of N\mathbb{N}; isolated or even infinitely many zero values are perfectly consistent with multiplicativity, and indeed μ\mu's zero pattern at non-squarefree prime powers is the entire content of its usefulness in the Möbius inversion formula.

What is the quickest way to check whether a formula defines a multiplicative function without testing all pairs m,nm,n?

By the reduction theorem, it suffices to check f(1)=1f(1)=1 and then verify the coprime-multiplicative identity directly from the formula, or — more practically — to derive a closed form for f(pa)f(p^a) from the definition and confirm that plugging prime-power factorizations into the claimed product formula reproduces the original formula for general nn. In practice, one typically proves multiplicativity from a defining sum or product (e.g. a sum over divisors) using an explicit bijection between divisors of mnmn and pairs of divisors of m,nm,n when gcd⁡(m,n)=1\gcd(m,n)=1, as done for σ\sigma and φ\varphi in their dedicated articles, rather than testing infinitely many pairs by hand.

Before this

Where this leads