Given a complex number, how can I determine whether it is a primitive root of unity?
(This is a subtask of a code golf problem, so the shorter the better) -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
