Difference between revisions of "DivisorsList Command"
From GeoGebra Manual
m (spacing /style) |
|||
Line 4: | Line 4: | ||
: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[15]</nowiki></code> yields ''{1, 3, 5, 15}'', the list of all positive divisors of ''15'', including ''15''.}} | :{{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[ <Number> ] | ;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[15]</nowiki></code> yields ''{1, 3, 5, 15}'', the list of all positive divisors of ''15'', including ''15''.}} | :{{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]].}} |
Revision as of 14:09, 9 August 2013
- 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.