RootOfUnityQ
RootOfUnityQ[a] yields True if a is a root of unity, and yields False otherwise.
Examples
RootOfUnityQ[Exp[2 Pi I/5]]RootOfUnityQ[Sqrt[2]]Please visit the official Wolfram Language Reference for more details.
RootOfUnityQ[a] yields True if a is a root of unity, and yields False otherwise.
RootOfUnityQ[Exp[2 Pi I/5]]RootOfUnityQ[Sqrt[2]]Please visit the official Wolfram Language Reference for more details.