Difference between revisions of "DivisorsSum Command"
From GeoGebra Manual
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=<div><code><nowiki>DivisorsSum[15]</nowiki></code> yields ''24'', the sum | + | :{{example|1=<div><code><nowiki>DivisorsSum[15]</nowiki></code> yields ''24'', the sum ''1 + 3 + 5 + 15''.</div>}} |
{{note| 1=<div> | {{note| 1=<div> | ||
See also [[Divisors Command]] and [[DivisorsList Command]]. | See also [[Divisors Command]] and [[DivisorsList Command]]. | ||
</div>}} | </div>}} |
Revision as of 12:25, 11 September 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- 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.