Roots of Unity - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


NumberTheory

  

RootsOfUnity

  

modular roots of unity

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

RootsOfUnity(k, n)

Parameters

k

-

prime number

n

-

positive integer

Description

• 

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 .

Examples

(1)

(2)

Distribution of the second roots of unity. A point  on the plot denotes that  is a second root of unity modulo .

Compatibility

• 

The NumberTheory[RootsOfUnity] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory

 


Download Help Document