Sum of Divisors Calculator
Calculate the sum of all positive divisors of an integer. Find every divisor, count the divisors, calculate the proper-divisor sum, factor the number into primes, and determine whether it is perfect, abundant, or deficient.
What Is the Sum of Divisors?
The sum of divisors of a positive integer is the sum of all its positive divisors, including 1 and the number itself.
In number theory, this function is called the divisor-sum function and is written as \(\sigma(n)\).
For example, the positive divisors of 12 are:
Therefore:
This calculator automatically finds the divisors and calculates their sum, so you do not have to find them manually.
Sum of Divisors Formula
If the prime factorization of \(n\) is known, the sum of divisors can be calculated without listing every divisor.
Suppose:
Then:
This is equivalent to multiplying the geometric sums:
Sum of Divisors Examples
Example 1: Sum of divisors of 6
The positive divisors of 6 are:
Therefore:
The proper divisors are 1, 2 and 3:
Therefore, 6 is a perfect number.
Example 2: Sum of divisors of 12
The positive divisors are:
The proper divisors sum to:
Since 16 is greater than 12, 12 is an abundant number.
Example 3: Sum of divisors of a prime number
A prime number has exactly two positive divisors: 1 and the number itself.
Therefore, for a prime \(p\):
For example:
Example 4: Sum of divisors of 28
The positive divisors of 28 are:
Its proper divisors sum to:
Therefore, 28 is also a perfect number.
Related Divisor Concepts
Divisor Count \( \tau(n) \)
The divisor-counting function, commonly written as \(\tau(n)\) or \(d(n)\), gives the number of positive divisors of \(n\).
Divisor-Sum Function \( \sigma(n) \)
The divisor-sum function \(\sigma(n)\) gives the sum of all positive divisors of \(n\).
Proper Divisors
Proper divisors are all positive divisors except the number itself.
Aliquot Sum
The aliquot sum is the sum of the proper divisors:
Perfect Numbers
A perfect number is equal to the sum of its proper divisors. The first perfect number is 6.
Abundant Numbers
An abundant number has a proper-divisor sum greater than the number itself. The smallest abundant number is 12.
Deficient Numbers
A deficient number has a proper-divisor sum smaller than the number itself. Every prime number is deficient.
Frequently Asked Questions
What is the sum of divisors?
The sum of divisors is the sum of all positive divisors of a number, including 1 and the number itself. It is represented by \(\sigma(n)\).
How do you calculate the sum of divisors?
You can find all positive divisors and add them together. Alternatively, if the prime factorization is known, the divisor-sum formula can calculate \(\sigma(n)\) directly from the prime factors.
What is the formula for the sum of divisors?
If \(n=p_1^{a_1}p_2^{a_2}\cdots p_k^{a_k}\), then:
What are proper divisors?
Proper divisors are all positive divisors of a number except the number itself.
What is the aliquot sum?
The aliquot sum is the sum of the proper divisors. It is calculated as:
What is a perfect number?
A perfect number is a positive integer whose proper divisors add up exactly to the number itself. For example, 6 is perfect because \(1+2+3=6\).
What is an abundant number?
An abundant number has a sum of proper divisors greater than the number itself. For example, 12 is abundant because:
What is a deficient number?
A deficient number has a sum of proper divisors smaller than the number itself.
What does \( \sigma(n) \) mean?
\(\sigma(n)\) is the standard notation for the divisor-sum function. It gives the sum of all positive divisors of \(n\).
What does \( \tau(n) \) mean?
\(\tau(n)\) is commonly used for the divisor-counting function. It gives the number of positive divisors of \(n\).
Related Math Calculators
Explore other number-theory, summation and mathematical calculators on Summe.org.