Skip to content
← All questions

Why can φ(p1k1p2k2⋅⋅⋅pmkm)φ(p_1^{k_1}p_2^{k_2}\cdot \cdot \cdot p_m^{k_m}) be split into φ(p1k1)φ(p2k2)⋅⋅⋅φ(pmkm)φ(p_1^{k_1})φ(p_2^{k_2})\cdot \cdot \cdot φ(p_m^{k_m})?

Euler's totient function is multiplicative, meaning φ(nm)=φ(n)φ(m)\varphi(nm) = \varphi(n)\varphi(m) whenever gcd⁡(n,m)=1\gcd(n, m) = 1. In the prime factorization of nn, the factors pikip_i^{k_i} are powers of distinct primes. Powers of distinct primes are always coprime to each other. Therefore, the multiplicativity property can be applied repeatedly to split the function value of the product into the product of the function values of each prime power.

Conditions

  • n=p1k1p2k2⋯pmkmn = p_1^{k_1}p_2^{k_2}\cdots p_m^{k_m} is the prime factorization of nn.
  • pip_i are distinct prime numbers.
  • φ\varphi is multiplicative for coprime integers.

Reasoning, step by step

  1. Recall the multiplicativity property of Euler's totient function: if gcd⁡(a,b)=1\gcd(a, b) = 1, then φ(ab)=φ(a)φ(b)\varphi(ab) = \varphi(a)\varphi(b).
  2. Identify that in the prime factorization n=p1k1p2k2⋯pmkmn = p_1^{k_1}p_2^{k_2}\cdots p_m^{k_m}, the bases pip_i are distinct primes.
  3. Deduce that powers of distinct primes are coprime, i.e., gcd⁡(piki,pjkj)=1\gcd(p_i^{k_i}, p_j^{k_j}) = 1 for i≠ji \neq j.
  4. Apply the multiplicativity property iteratively to split φ(n)\varphi(n) into φ(p1k1)φ(p2k2)⋯φ(pmkm)\varphi(p_1^{k_1})\varphi(p_2^{k_2})\cdots\varphi(p_m^{k_m}).

Example

Let n=12=22⋅31n = 12 = 2^2 \cdot 3^1. The factors 22=42^2=4 and 31=33^1=3 are coprime because 2 and 3 are distinct primes. Thus, φ(12)=φ(4⋅3)=φ(4)φ(3)\varphi(12) = \varphi(4 \cdot 3) = \varphi(4)\varphi(3). We know φ(4)=4−2=2\varphi(4) = 4 - 2 = 2 and φ(3)=3−1=2\varphi(3) = 3 - 1 = 2. So φ(12)=2⋅2=4\varphi(12) = 2 \cdot 2 = 4.

Common misconceptions

  • Assuming φ(nm)=φ(n)φ(m)\varphi(nm) = \varphi(n)\varphi(m) holds for ALL integers nn and mm, not just coprime ones.
  • Forgetting that the prime factors in the factorization must be distinct for this direct splitting to work without additional adjustments.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.