Right triangle then with equality only in the isosceles case. If segments of lengths "p" and "q" emanating from vertex "C" trisect the hypotenuse into segments of length "c"/3, then The right triangle is the only triangle having two, rather than one or three, distinct inscribed squares. Let "h" and "k" ("h" > "k") be the sides of the two inscribed squares in a right triangle with hypotenuse "c". Then These sides and the incircle radius "r" are related by a similar formula: The perimeter of a right triangle equals the sum of the radii of the incircle and the three excircles:
Fermat's right triangle theorem and the other is odd. Therefore, both formula_39 and formula_40 are even, one of which is divisible by 4. From these two numbers Fermat derives two more numbers formula_41 and formula_42, one of which is even by the previous sentence. Because formula_43 is a square, formula_44 and formula_45 are the legs of another primitive Pythagorean triangle whose area formula_46. Since formula_27 is itself a square and since formula_48 is even, formula_49 is a square. Thus, any Pythagorean triangle with square area leads to a smaller Pythagorean triangle with square area, completing the proof. Fermat's right triangle theorem Fermat's right triangle