Definition (Pythagorean triple)
A Pythagorean Triple is a triple of natural numbers (a,b,c) such that a2+b2=c2.
Definition (Primitive)
A Pythagorean triple, (a,b,c), is said to be primitive, if gcd(a,b,c)=1
Theorem (Writing Primitive Pythagorean Triples)
Any (a,b,c) can be written as a=u2−v2, b=2uv, c=u2+v2, (u,v)=1(1)with u,v∈Z of opposite parity and u>v. Conversely, if u and v are any two coprime integers of opposite parity, then (1) gives a primitive Pythagorean triple.