Pythagorean theorem three sides in place of squares (squares are a special case, of course). The upper figure shows that for a scalene triangle, the area of the parallelogram on the longest side is the sum of the areas of the parallelograms on the other two sides, provided the parallelogram on the long side is constructed as indicated (the dimensions labeled with arrows are the same, and determine the sides of the bottom parallelogram). This replacement of squares with parallelograms bears a clear resemblance to the original Pythagoras's theorem, and was considered a generalization by Pappus of Alexandria in 4 AD The
Fermat's right triangle theorem single Diophantine equation which can be simplified to Conversely, any solution to this equation could be factored to give a square congruum. (In particular, the squares formula_13, formula_14, and formula_15 form an arithmetic progression with congruum formula_16, which is a square itself.) Thus, the solvability of this equation is equivalent to the existence of a square congruum. But, if Fermat's last theorem were false for the exponent formula_17, then squaring one of the three numbers in any counterexample would also give three numbers that solve this equation. Therefore, Fermat's proof that no Pythagorean triangle has a square area implies that