Hello
I wrote this program in SAGE online, but i failed to find error,
def gcd_multipliers(x, alpha, i):
  fac=factor(alpha)
projections=[]
for p,v in fac:
 l=[0]*len(x);
if gcd(x[i],p)!= 1: l[i]=1;
for j in range(1, len(x))
if gcd(x[j],p) == 1:
l[j]=1; break
projections.append(l)
return CRT_vectors(projections, [p^v for p,v in fac])

Regards

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to