Difference between revisions of "DivisorsSum Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "<noinclude>{{Manual Page|version=4.0}}</noinclude> {{command|CAS}} ;DivisorsSum[ <Number> ] :Returns the sum of all the positive divisors, including the number itself.")
 
Line 2: Line 2:
 
{{command|CAS}}
 
{{command|CAS}}
 
;DivisorsSum[ <Number> ]
 
;DivisorsSum[ <Number> ]
:Returns 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>DivisorsList[15]</nowiki></code> gives ''20'', the sum of all positive divisors of ''15'', including ''15''.</div>}}
 +
{{note| 1=<div>
 +
See also [[Divisors Command]] and [[DivisorsList Command]].
 +
</div>}}

Revision as of 10:12, 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:
DivisorsList[15] gives 20, the sum of all positive divisors of 15, including 15.
© 2021 International GeoGebra Institute