Divisor Function — Definition, Formula & Examples
The divisor function adds up the -th powers of every positive divisor of . Two especially common cases are , which counts the number of divisors, and , which gives their sum.
For a positive integer and a non-negative integer (or more generally, complex number) , the divisor function is defined as , where the sum ranges over all positive divisors of . The special case is often denoted or , and is often written simply as .
Key Formula
Where:
- = A positive integer whose divisors are being summed
- = The exponent applied to each divisor (commonly 0 or 1)
- = d ranges over all positive divisors of n
How It Works
To compute , first list every positive integer that divides evenly. Then raise each divisor to the -th power and add the results. When has a prime factorization , the divisor function is multiplicative, meaning . For a prime power, there is a closed form: .
Worked Example
Problem: Compute σ₀(12), σ₁(12), and σ₂(12).
List divisors: The positive divisors of 12 are 1, 2, 3, 4, 6, and 12.
Compute σ₀(12): Raise each divisor to the 0th power (each equals 1) and sum.
Compute σ₁(12): Sum the divisors themselves.
Compute σ₂(12): Sum the squares of each divisor.
Answer: σ₀(12) = 6, σ₁(12) = 28, σ₂(12) = 210.
Visualization
Why It Matters
The divisor function appears throughout analytic and algebraic number theory. Classifying perfect numbers relies on , a condition tied to open problems like the existence of odd perfect numbers. It also arises in the theory of modular forms, where identities involving connect to partition counting and the Ramanujan tau function.
Common Mistakes
Mistake: Confusing σ₀(n) (number of divisors) with σ₁(n) (sum of divisors) because both are called 'the divisor function.'
Correction: Always check the subscript k. σ₀ counts divisors, σ₁ sums them, and σ_k for higher k sums their k-th powers. When no subscript is written, σ(n) typically means σ₁(n).
