Triangle inequality is an exterior angle of a right triangle and therefore larger than , meaning the other base angle of the isosceles triangle also is greater than and their sum exceeds in violation of the triangle postulate). This theorem establishing inequalities is sharpened by Pythagoras' theorem to the equality that the square of the length of the hypotenuse equals the sum of the squares of the other two sides. Consider a triangle whose sides are in an arithmetic progression and let the sides be , , . Then the triangle inequality requires that The first of these quadratic inequalities requires to
Legendre's three-square theorem Legendre's three-square theorem In mathematics, Legendre's three-square theorem states that a natural number can be represented as the sum of three squares of integers if and only if is not of the form formula_2 for integers and . The first numbers that cannot be expressed as the sum of three squares (i.e. numbers that can be expressed as formula_2) are Pierre de Fermat gave a criterion for numbers of the form 3"a" + 1 to be a sum of three squares essentially equivalent to Legendre's theorem, but did not provide a proof. N. Beguelin noticed in 1774 that every positive