Exercise 1656Number theory › Divisibility and gcdOlympiadAdded 3 Nov 2026
Primitive Pythagorean triples
#Pythagorean triples#coprime#parity
Statement
Show that in any primitive Pythagorean triple with and , exactly one of is even, and is odd.
Hint
Parity analysis modulo : squares mod are or .
Show solutionHide solution
Solution
Both odd? If both odd, . But or . Contradiction.
Both even? Then , contradicting primitivity.
Exactly one even. So exactly one is even; WLOG even. Then , , so , odd.
Conclusion. In any primitive triple, exactly one leg is even and the hypotenuse is odd.
Parametrization. , , with , coprime, opposite parity.