Pythagorean triples are sets of integer values for which the Pythagorean Theorem holds; that is, integer triples

so that

, where

and

are the legs of the triangle and

the hypotenuse and the distance to the origin. See how the points

are distributed in the plane.