Sum Over Divisors Equals Sum Over Quotients

From ProofWiki
Jump to navigation Jump to search


Let $n$ be a positive integer.

Let $f: \Z_{>0} \to \Z_{>0}$ be a function on the positive integers.

Let $\displaystyle \sum_{d \mathop \backslash n} f \left({d}\right)$ be the sum of $f \left({d}\right)$ over the divisors of $n$.


$\displaystyle \sum_{d \mathop \backslash n} f \left({d}\right) = \sum_{d \mathop \backslash n} f \left({\frac n d}\right)$.


If $d$ is a divisor of $n$ then $d \times \dfrac n d = n$ and so $\dfrac n d$ is also a divisor of $n$.

Therefore if $d_1, d_2, \ldots, d_r$ are all the divisors of $n$, then so are $\dfrac n {d_1}, \dfrac n {d_2}, \ldots, \dfrac n {d_r}$ except in a different order.


\(\displaystyle \sum_{d \mathop \backslash n} f \left({\frac n d}\right)\) \(=\) \(\displaystyle f \left({\frac n {d_1} }\right) + f \left({\frac n {d_2} }\right) + \cdots + f \left({\frac n {d_r} }\right)\)
\(\displaystyle \) \(=\) \(\displaystyle f \left({d_1}\right) + f \left({d_2}\right) + \cdots + f \left({d_r}\right)\)
\(\displaystyle \) \(=\) \(\displaystyle \sum_{d \mathop \backslash n} f \left({d}\right)\)