s426285/DALGLI0:zad_4
master
@ -62,7 +62,7 @@ class QuotientRing():
nils = []
phi = len([ i for i in range(1, self.m) if gcd(i, self.m) == 1 ])
for zero_div in self.zero_divisors:
for i in range(self.m):
for i in range(phi+1):
if len((zero_div ** i % self.f).poly) == 0:
nils.append(zero_div)
break
The note is not visible to the blocked user.