Skip to content

Commit

Permalink
Update binary_polinomial_factoring.sage
Browse files Browse the repository at this point in the history
  • Loading branch information
daedalus committed Feb 12, 2024
1 parent c694cd1 commit c8c9b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binary_polinomial_factoring.sage
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c8c9b7e

Please sign in to comment.