Difference between revisions of "DivisorsSum Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|algebra}}
 
{{command|algebra}}
 +
;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''.}}
 +
==CAS Syntax==
 
;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=<code><nowiki>DivisorsSum[15]</nowiki></code> yields ''24'', the sum ''1 + 3 + 5 + 15''.}}
 
:{{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]].}}
 
{{note| 1=See also [[Divisors Command]] and [[DivisorsList Command]].}}

Revision as of 14:14, 9 August 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.

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