arithmetic
Sum of divisors function (sigma function) from prime factorization
intermediate
High weightage
CAT
XAT
NMAT
SNAP
CMAT
IIFT
MAT
\displaystyle \sigma(n)=\prod_{i=1}^{k} \frac{p_{i}^{a_{i}+1}-1}{p_{i}-1}For a positive integer n with prime factorization n=where are distinct primes and the sum of all positive divisors of n, denoted n), equals the product over i of (divided by (Variables: primes, exponents. Intuition: divisors contributed by a prime form a geometric series 1+whose sum is independence across primes yields the product. Algebraically it factorises divisor-sum into multiplicative components. Edge cases: n=1 gives Works only for positive integers; requires prime factorization.