Difference between revisions of "Manuals/calci/PERFECTNUMBERS"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
− | [[Z_API_Functions | List of Main Z Functions]] | + | *[[Z_API_Functions | List of Main Z Functions]] |
− | [[ Z3 | Z3 home ]] | + | *[[ Z3 | Z3 home ]] |
Revision as of 00:40, 13 March 2017
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