# Product representation of totient

The following formula holds for distinct primes $p$ dividing $n$: $$\phi(n)=n \displaystyle\prod_{p | n} \left[ 1 - \dfrac{1}{p} \right],$$ where $\phi$ denotes the totient.