Divisor Count of 18

Example of Use of $\tau$ Function

 * $\tau \left({18}\right) = 6$

where $\tau$ denotes the $\tau$ Function.

Proof
From Tau Function from Prime Decomposition:
 * $\displaystyle \tau \left({n}\right) = \prod_{j \mathop = 1}^r \left({k_j + 1}\right)$

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:
 * $18 = 2 \times 3^2$

Thus:
 * $\tau \left({18}\right) = \tau \left({2^1 \times 3^2}\right) = \left({1 + 1}\right) \left({2 + 1}\right) = 6$

The divisors of $18$ can be enumerated as:
 * $1, 2, 3, 6, 9, 18$