Opened 9 years ago

Closed 9 years ago

#613 closed bug (fixed)

rootofUnity doesn't return primitive root

Reported by: missmascia@… Owned by: somebody
Priority: major Milestone: 3-2-0 and higher
Component: dontKnow Version: 3-1-6
Keywords: rootofUnity Cc: missmascia@…

Description

ring R = (0,a), x, lp; minpoly = rootofUnity (30); minpoly;

(a8-a7+a5-a4+a3-a+1)

a30;

1

a15;

1

If you set minpoly = a8+a7-a5-a4-a3+a+1; you get the primitive root.

We noticed the same problem when the argument of rootofUnity is the product 2*p*q, where p and q are primes.

Change History (2)

comment:2 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.