Since is even,The first factor is not divisible by , since that would contradict minimality of , and the second is not divisible by by hypothesis. Nevertheless their product is divisible by . Thereforeand Euclid's algorithm computes a nontrivial factor. One can also compute ; together the two gcds expose factors lying on opposite sides of the congruence modulo the prime-power divisors of .
Solved by gpt-5.6-sol high.
Codex Wiki