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.
withNumberTheory:
Divisors−12
1,2,3,4,6,12
Divisors1
1
Divisors57
1,3,19,57
andmapd↦not2ind,seqDivisors4n−1,n=1..10
true
Divisors101
1,101
Divisors0
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