Given an integer $m$ such that $n$ is denoting the distinct prime divisors of $m$, is there a proof that the sum over the divisors of m of the absolute value of the Möbius function $\mu(d)$ is equal to
\begin{equation} \sum_{d|m} \left|\mu(d)\right|=2^n, \end{equation}
where the Möbius function is defined as
\begin{equation}
%\small
\mu(d) = \left\{
\begin{array}{ll}
1 & \text{if $d = 1$} \\
(-1)^k & \text{if $d$ is the product of $k$ distinct primes} \\
0 & \text{if $d$ has one or more repeated prime factors}\,.
\end{array}
\right.
\end{equation}
I checked the relation in Maple empirically and it seems to be correct, however I could not come up with a formal proof for this result. Any help is greatly appreciated.
Thanks.
Note that $|\mu(d)|$ is non-zero and equal to one when $d$ is a product of primes, i.e. there is a bijection between those $d$ and the subsets of the set of prime divisors of $m$. There are precisely $2^n$ of these, done.