Solution

ID: past-exam-of-the-short-options-course-of-the-university-of-oxford/2015/1/b/solution

In Pollard's p-1 algorithm, a large exponent containing many small factors makes divisible by a prime factor whose predecessor divides , by Fermat's little theorem. A greatest common divisor with the number being factored can then separate that prime factor from the others.
Choose base and build factorial exponents using modular exponentiation. The successive exponents , , and give
The first two greatest common divisors are . At the next step the Euclidean algorithm gives
Hence
Here the element order of modulo is , which divides , even though does not divide . The algorithm only needs the element order to divide the chosen exponent; divisibility by the full predecessor is a sufficient condition, not a necessary one.

New to topics? Read the docs here!