Maths WorkshopMaths problems with full solutions
Exercise 2192Number theory › PrimesM1Added 3 Nov 2026

Elliptic curve factorization (statement)

#elliptic curve#factorization#Lenstra

Statement

Describe Lenstra's elliptic curve factorization method.

Hint

Work over Z/nZ\mathbb{Z}/n\mathbb{Z}; use the group structure of an elliptic curve. When a denominator is not invertible mod nn, we find a factor of nn.

Show solutionHide solution

Solution

Setup. Choose a random elliptic curve EE over Z/nZ\mathbb{Z}/n\mathbb{Z} and a point PP. Compute kPkP via repeated doubling/addition.

Factorization. At some step, a denominator is not invertible mod nn, meaning gcd⁡(denominator,n)\gcd(\text{denominator},n) is a nontrivial factor of nn.

Efficiency. ECM is particularly efficient for finding small factors; complexity depends on the size of the smallest factor, not nn.

Conclusion. ECM is a major modern factorization algorithm, well-suited to finding medium-size factors.