diff --git a/binary_polinomial_factoring.sage b/binary_polinomial_factoring.sage index b9be04f..9bd0337 100644 --- a/binary_polinomial_factoring.sage +++ b/binary_polinomial_factoring.sage @@ -57,7 +57,7 @@ def test(): ff = 0 nf = 0 while True: - i = (2 ** n) - 1 + i = (1 << n) - 1 if gmpy2.is_prime(i) == False: f = factor_int(i) if len(f) > 1: