Primitive root of unity (source code)

= Primitive root of unity

A primitive $n$th root of unity has multiplicative order exactly $n$.