Number Theory
Advanced
Sum of Divisors
Sum of all divisors from prime factorization.
Formula
Variables
p_iPrimes
a_iExponents
Example
Related to perfect numbers
Did You Know?
The sum-of-divisors function unlocks the ancient mystery of perfect and amicable numbers.