I am trying to figure out how to interpret the following formula using probability:
$$\frac{\phi(n)}{n}=\prod_{p|n}(1-\frac{1}{p}).$$
The left hand side is clearly the probability that a random chosed number from $1\leq a\leq n$ is coprime to $n$.
I am told that the right hand side insists that our number is not divisible by any prime divisors of $n$. Why is this so?
Because of $1\le \phi(n)\le n$ we have $0<\frac{\phi(n)}{n}\le 1$. Hence the RHS satisfies $$ 0<\prod_{p|n}(1-\frac{1}{p})\le 1. $$ So the claim about divisibility by primes is clear.