Pythagorean theorem Pythagorean theorem In mathematics, the Pythagorean theorem, also known as Pythagoras' theorem, is a fundamental relation in Euclidean geometry among the three sides of a right triangle. It states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. The theorem can be written as an equation relating the lengths of the sides "a", "b" and "c", often called the "Pythagorean equation": where "c" represents the length of the hypotenuse and "a" and "b" the lengths of the triangle's other two sides. Although it is
Fermat's theorem on sums of two squares Fermat's theorem on sums of two squares In additive number theory, Fermat's theorem on sums of two squares states that an odd prime "p" can be expressed as: formula_1 with "x" and "y" integers, if and only if The prime numbers for which this is true are called Pythagorean primes. For example, the primes 5, 13, 17, 29, 37 and 41 are all congruent to 1 modulo 4, and they can be expressed as sums of two squares in the following ways: On the other hand, the primes 3, 7, 11, 19, 23 and 31 are all congruent to 3