Difference between revisions of "DivisorsList Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|CAS}} | {{command|CAS}} | ||
;DivisorsList[ <Number> ] | ;DivisorsList[ <Number> ] | ||
− | : | + | :Gives the list of all the positive divisors, including the number itself. |
+ | :{{example|1=<div><code><nowiki>DivisiorsList[15]</nowiki></code> gives ''{1, 3, 5, 11}'', the list of all positive divisors of ''15'', including ''15''.</div>}} | ||
+ | {{note| 1=<div> | ||
+ | See also [[Divisors Command]] and [[DivisorsSum Command]]. | ||
+ | </div>}} |
Revision as of 10:10, 5 August 2011
This command works in CAS View only.
- DivisorsList[ <Number> ]
- Gives the list of all the positive divisors, including the number itself.
- Example:
DivisiorsList[15]
gives {1, 3, 5, 11}, the list of all positive divisors of 15, including 15.
Note:
See also Divisors Command and DivisorsSum Command.