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
Fermat's theorem on sums of two squares he announced the following two results for odd primes formula_4: He also wrote: In other words, if "p, q" are of the form 20"k" + 3 or 20"k" + 7, then "pq" = "x" + 5"y". Euler later extended this to the conjecture that Both Fermat's assertion and Euler's conjecture were established by Lagrange. A generalization of Fermat's theorem, the sum of two squares theorem, characterizes the integers (not necessarily prime) that can be expressed as the sum of two squares. They are exactly the integers in which each prime that is congruent to 3 mod 4 appears with an