Right triangle two legs (the two sides that meet at a right angle). This can be stated in equation form as where "c" is the length of the hypotenuse, and "a" and "b" are the lengths of the remaining two sides. Pythagorean triples are integer values of "a, b, c" satisfying this equation. The radius of the incircle of a right triangle with legs "a" and "b" and hypotenuse "c" is The radius of the circumcircle is half the length of the hypotenuse, Thus the sum of the circumradius and the inradius is half the sum of the legs: One of the
Fermat's right triangle theorem congruum is equivalent to the existence of a Pythagorean triangle with a square area. It is this variant of the problem that Fermat's proof concerns: he shows that there is no such triangle. In considering this problem, Fermat was inspired not by Fibonacci but by an edition of Diophantus published by Claude Gaspard Bachet de Méziriac. This book described various special right triangles whose areas had forms related to squares, but did not consider the case of areas that were themselves square. By rearranging the equations for the two Pythagorean triangles above, and then multiplying them together, one obtains the