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.")
 
(command syntax: changed [ ] into ( ))
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
{{command|CAS}}
+
{{command|algebra}}
;DivisorsSum[ <Number> ]
+
;DivisorsSum( <Number> )
:Returns 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=<code><nowiki>DivisorsSum(15)</nowiki></code> yields ''24'', the sum ''1 + 3 + 5 + 15''.}}
 +
==CAS Syntax==
 +
;DivisorsSum( <Number> )
 +
:Calculates the sum of all the positive divisors, including the number itself.
 +
:{{example|1=<code><nowiki>DivisorsSum(15)</nowiki></code> yields ''24'', the sum ''1 + 3 + 5 + 15''.}}
 +
{{note| 1=See also [[Divisors Command]] and [[DivisorsList Command]].}}

Latest revision as of 12:47, 5 October 2017


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.

CAS Syntax

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.
© 2024 International GeoGebra Institute