Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In mathematics,
in particular in computational algebra, the Berlekamp-Zassenhaus
algorithm is an algorithm for factoring polynomials over the integers.
As a consequence of Gauss's lemma, this amounts to solving the problem
also over the rationals. The algorithm starts by finding factorizations
over suitable finite fields using Hensel's lemma to lift the solution
from modulo a prime p to a convenient power of p. After this the right
factors are found as a subset of these. The worst case of this algorithm
is exponential in the number of factors.