The formulas , , give a Pythagorean triple for integers , because . They give a primitive Pythagorean triple exactly when are coprime and have opposite integer parity. Every primitive Pythagorean triple arises this way after possibly exchanging the legs; scaling gives the nonprimitive triples.
A Pythagorean triple whose coordinates have greatest common divisor 1. Its two legs have opposite integer parity, and every Pythagorean triple is a unique positive integer multiple of a primitive Pythagorean triple up to the ordering of its legs.
Pythagorean equation 2026-10-20
The equation . Its positive integer solutions are Pythagorean triples; primitive Pythagorean triples are those with no common factor greater than 1.