Integer roots: Difference between revisions

Line 12:
c=1
d=(a1*c+b//(c**a1))//a
if d==0:d=1
e=(a1*d+b//(d**a1))//a
if e==0:e=1
while c!=d and c!=e:
c,d,e=d,e,(a1*e+b//(e**a1))//a
Anonymous user