Difference between revisions of "DivisorsList Command"
From GeoGebra Manual
Line 3: | Line 3: | ||
;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=<div><code><nowiki>DivisorsList[15]</nowiki></code> gives ''{1, 3, 5, | + | :{{example|1=<div><code><nowiki>DivisorsList[15]</nowiki></code> gives ''{1, 3, 5, 15}'', the list of all positive divisors of ''15'', including ''15''.</div>}} |
{{note| 1=<div> | {{note| 1=<div> | ||
See also [[Divisors Command]] and [[DivisorsSum Command]]. | See also [[Divisors Command]] and [[DivisorsSum Command]]. | ||
</div>}} | </div>}} |
Revision as of 09:13, 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:
DivisorsList[15]
gives {1, 3, 5, 15}, the list of all positive divisors of 15, including 15.
Note:
See also Divisors Command and DivisorsSum Command.