Let n ∈ Z with n > 0 and let ω(n) denote the number of distinct prime numbers dividing n.
Prove that
$$\sum_{d|n, d \geq 1}{|\mu(d)|} = 2^{\omega(n)}$$
I'm not sure how to approach this problem. All I've got so far is that
$$|\mu(d)| =\begin{cases} 0,& \text{if $n$ is not square free}\\ 1,& \text{if $n=1$ or if $n$ is square free} \end{cases} $$
Can anyone give me a hint about how to start/approach this proof?