Primitive Pythagorean parametrization

ID: primitive-pythagorean-parametrization

Every primitive Pythagorean triple, after exchanging its legs, has this form with , and opposite parity. Its area is . The factors are pairwise coprime, because are odd. Conversely these conditions give a primitive triple. The parametrization follows by factoring the relatively prime integers and when is the even leg.

New to topics? Read the docs here!