
\[\sum_{n=1}^{\infty}f(n)=\prod_{p}(1-f(p))^{-1}.\]