Skip to main content
MBA Compass Logo
MBA Compassby B School Buzz
arithmetic

Divisor functions: Number of divisors (\tau) and Sum of divisors (\sigma)

intermediate
High weightage
CAT
XAT
NMAT
SNAP
CMAT
IIFT
MAT
If n=\prod_{i=1}^{k} p_{i}^{\alpha_{i}} \text{ (prime factorisation)}, \quad \tau(n)=\prod_{i=1}^{k} (\alpha_{i}+1), \quad \sigma(n)=\prod_{i=1}^{k} \frac{p_{i}^{\alpha_{i}+1} - 1}{p_{i} - 1}
Let n be a positive integer and n=its prime factorisation where are distinct primes and are positive integer exponents. The function n) (number of positive divisors) equals the product of (because any divisor chooses exponent 0..for each prime. The sum-of-divisors function n) equals the product over i of the geometric-series sum 1+which simplifies to Units: n) is a count; n) has same units as n (sum of integer divisors). Intuition: counting choices across independent prime-power factors yields multiplicative structure. Domain restrictions: nformula requires prime factorization; for very large n factorization can be expensive. Edge cases: n=1 has and prime n has n)=2 and n)=1+n.

Related formulas