Difference between revisions of "DivisorsSum Command"
From GeoGebra Manual
Line 3: | Line 3: | ||
;DivisorsSum[ <Number> ] | ;DivisorsSum[ <Number> ] | ||
:Calcualtes the sum of all the positive divisors, including the number itself. | :Calcualtes the sum of all the positive divisors, including the number itself. | ||
− | :{{example|1=<div><code><nowiki>DivisorsSum[15]</nowiki></code> gives '' | + | :{{example|1=<div><code><nowiki>DivisorsSum[15]</nowiki></code> gives ''24'', the sum of all positive divisors of ''15'', including ''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 09:13, 5 August 2011
This command works in CAS View only.
- DivisorsSum[ <Number> ]
- Calcualtes the sum of all the positive divisors, including the number itself.
- Example:
DivisorsSum[15]
gives 24, the sum of all positive divisors of 15, including 15.
Note:
See also Divisors Command and DivisorsList Command.