PERFECTNUMBERS (Upto,StartFrom)
- is the maximum number limit.
- is the minimum number limit.
Description
- This function returns the list of Perfect numbers.
- In PERFECTNUMBERS (Upto,StartFrom),Upto is the Maximum number limit to display and Start from is the Minimum number to start Perfect number list.
- Perfect number is a positive integer which is equal to the sum of its proper divisors.
- The smallest perfect number is 6, which is the sum of 1, 2, and 3.
Examples
- PERFECTNUMBERS(14,2) = 6
- PERFECTNUMBERS(900,54) = 6 28 496
- PERFECTNUMBERS(-567,0) = NaN
See Also
References