The aliquot sum
So, for example, the aliquot sum of the number
Aliquot sum is a very useful property in Number Theory, and can be used for defining:
- Prime Numbers
- Deficient Numbers
- Abundant Numbers
- Perfect Numbers
- Amicable Numbers
- Untouchable Numbers
- Aliquot Sequence of a number
- Quasiperfect & Almost Perfect Numbers
- Sociable Numbers
- 1 is the only number whose aliquot sum is 0
- The aliquot sums of perfect numbers is equal to the numbers itself
- For a semiprime number of the form
$pq$ , the aliquot sum is$p + q + 1$ - The Aliquot sum function was one of favorite topics of investigation for the world famous Mathematician, Paul Erdős
We loop through all the numbers from
The reason we take the upper bound as
The sum which we obtain is the aliquot sum of the number