Difference between revisions of "DivisorsSum Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + )) |
|||
Line 3: | Line 3: | ||
;DivisorsSum[ <Number> ] | ;DivisorsSum[ <Number> ] | ||
:Calculates the sum of all the positive divisors, including the number itself. | :Calculates the sum of all the positive divisors, including the number itself. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>DivisorsSum[15]</nowiki></code> yields ''24'', the sum ''1 + 3 + 5 + 15''.}} |
− | {{note| 1= | + | {{note| 1=See also [[Divisors Command]] and [[DivisorsList Command]].}} |
− | See also [[Divisors Command]] and [[DivisorsList Command]]. | ||
− |
Revision as of 10:38, 24 June 2013
- DivisorsSum[ <Number> ]
- Calculates the sum of all the positive divisors, including the number itself.
- Example:
DivisorsSum[15]
yields 24, the sum 1 + 3 + 5 + 15.
Note: See also Divisors Command and DivisorsList Command.