The doubling slope at is , giving
These denominators are invertible modulo . To add again, the difference of first coordinates is , so the new slope would be . This requires inversion of a number divisible by 97. The elliptic curve method instead computes
It is a proper factor. The failure of the group-law division modulo the composite integer reveals different behavior modulo its prime factors.
In the elliptic curve method, addition is attempted modulo the composite number. A denominator that is not a unit in a ring supplies a factor through its greatest common divisor with that number.
First double using the elliptic-curve addition formula. Its tangent slope is
These calculations are valid modulo since the only initial denominator is two, which is invertible. Thus , equivalently modulo .
To form , the chord slope would require
The denominator has
It cannot be inverted, and thirteen is the requested proper factor. The failure has a geometric explanation: modulo thirteen, , so is the point at infinity. Modulo seventeen that chord denominator remains nonzero. The differing behavior at the two primes is exactly what the elliptic curve method detects.
Let with primes and . quadratic reciprocity makes three a square modulo ; choose and impose , by the Chinese remainder theorem. The curve has good reduction at both primes. Indeed its discriminant is ; the first condition could make a factor vanish only at or 11, while the second gives and the given residue class excludes .
Doubling gives . This vanishes modulo and equals one modulo . Modulo one also has , so and is the identity. Modulo the addition is finite. Thus computing modulo encounters a denominator whose greatest common divisor with is exactly , revealing the factor. The numerator difference is minus two modulo , so the failed inverse cannot be cancelled. This is a construction of successful elliptic curve method data from prescribed local group behavior.