|To find the smallest primitive right-angled
triangle whose sides are all integers, none of which contain more than
three digits, and whose perimeter is a perfect square.
|A primitive right triangle cannot be a
multiple of some smaller one. Thus, for example, 180, 240, 300 is
excluded because it's a multiple of the basic 3,4,5 triangle.