Pythagoras triangle the square of the hypotenuse is equal [to the sum of] the squares of the two other sides"—that is, formula_1. According to a popular legend, after he discovered this theorem, Pythagoras sacrificed an ox, or possibly even a whole "hecatomb", to the gods. Cicero rejected this story as spurious because of the much more widely held belief that Pythagoras forbade blood sacrifices. Porphyry attempted to explain the story by asserting that the ox was actually made of dough. The Pythagorean theorem was known and used by the Babylonians and Indians centuries before Pythagoras, but it is possible that he
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