
\[\sum_{d\mathbin{|}n}\mu\left(d\right)f(d)=\prod_{p\mathbin{|}n}(1-f(p)),\]