1=|n

Thanks,

-- 
Raul


On Mon, Jun 2, 2014 at 2:54 PM, Dan Bron <[email protected]> wrote:
> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to