NumberTheory
Divisors
the set of positive divisors of an integer
Calling Sequence
Parameters
Description
Examples
Compatibility
Divisors(n)
n
-
integer
The Divisors function computes the set of positive divisors of n.
Every positive integer is a divisor of 0, but one cannot represent the set of all positive integers as an enumerated set. Therefore, Divisors(0) returns an error.
with⁡NumberTheory:
Divisors⁡−12
1,2,3,4,6,12
Divisors⁡1
1
Divisors⁡57
1,3,19,57
andmap⁡d↦not2ind,seq⁡Divisors⁡4⁢n−1,n=1..10
true
Divisors⁡101
1,101
Divisors⁡0
Error, (in NumberTheory:-Divisors) cannot represent all positive divisors of 0
The NumberTheory[Divisors] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
Download Help Document