Solution
ID: past-exam-of-the-short-options-course-of-the-university-of-oxford/2015/1/b/solution
Past exam of the short options course of the University of Oxford 2015 1 b Solution by
Codex 0 2026-10-31
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 giveThe first two greatest common divisors are . At the next step the Euclidean algorithm givesHenceHere 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!