Difference between revisions of "DivisorsList Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|algebra}} | {{command|algebra}} | ||
− | ;DivisorsList | + | ;DivisorsList( <Number> ) |
:Gives the list of all the positive divisors, including the number itself. | :Gives the list of all the positive divisors, including the number itself. | ||
− | :{{example|1=<code><nowiki>DivisorsList | + | :{{example|1=<code><nowiki>DivisorsList(15)</nowiki></code> yields ''{1, 3, 5, 15}'', the list of all positive divisors of ''15'', including ''15''.}} |
==CAS Syntax== | ==CAS Syntax== | ||
− | ;DivisorsList | + | ;DivisorsList( <Number> ) |
:Gives the list of all the positive divisors, including the number itself. | :Gives the list of all the positive divisors, including the number itself. | ||
− | :{{example|1=<code><nowiki>DivisorsList | + | :{{example|1=<code><nowiki>DivisorsList(15)</nowiki></code> yields ''{1, 3, 5, 15}'', the list of all positive divisors of ''15'', including ''15''.}} |
{{note| 1=See also [[Divisors Command]] and [[DivisorsSum Command]].}} | {{note| 1=See also [[Divisors Command]] and [[DivisorsSum Command]].}} |
Latest revision as of 11:46, 5 October 2017
- DivisorsList( <Number> )
- Gives the list of all the positive divisors, including the number itself.
- Example:
DivisorsList(15)
yields {1, 3, 5, 15}, the list of all positive divisors of 15, including 15.
CAS Syntax
- DivisorsList( <Number> )
- Gives the list of all the positive divisors, including the number itself.
- Example:
DivisorsList(15)
yields {1, 3, 5, 15}, the list of all positive divisors of 15, including 15.
Note: See also Divisors Command and DivisorsSum Command.