Divisor Sum of Integer/Examples/12

Example of Sigma of Integer

 * $\sigma \left({12}\right) = 28$

where $\sigma$ denotes the $\sigma$ function.

Proof
From Sigma of Integer:
 * $\displaystyle \sigma \left({n}\right) = \prod_{1 \mathop \le i \mathop \le r} \frac {p_i^{k_i + 1} - 1} {p_i - 1}$

where $n = \displaystyle \prod_{1 \mathop \le i \mathop \le r} p_i^{k_i}$ denotes the prime decomposition of $n$.

We have that:
 * $12 = 2^2 \times 3$

Hence: