NumberTheory
RootsOfUnity
modular roots of unity
Calling Sequence
Parameters
Description
Examples
Compatibility
RootsOfUnity(k, n)
k
-
prime number
n
positive integer
The RootsOfUnity(k, n) command computes all the kth roots of unity modulo n.
An integer is said to be a th root of unity modulo if .
Distribution of the second roots of unity. A point on the plot denotes that is a second root of unity modulo .
The NumberTheory[RootsOfUnity] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
Download Help Document