Divisor Count Function/Examples/12

Example of Use of Divisor Count Function

 * $\map {\sigma_0} {12} = 6$

where $\sigma_0$ denotes the divisor count function.

Proof
From Divisor Count Function from Prime Decomposition:
 * $\ds \map {\sigma_0} n = \prod_{j \mathop = 1}^r \paren {k_j + 1}$

where:
 * $r$ denotes the number of distinct prime factors in the prime decomposition of $n$
 * $k_j$ denotes the multiplicity of the $j$th prime in the prime decomposition of $n$.

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

Thus:

The divisors of $12$ can be enumerated as:
 * $1, 2, 3, 4, 6, 12$