Elementary algebra sign). One of the most well-known equations describes Pythagoras' law relating the length of the sides of a right angle triangle: This equation states that formula_44, representing the square of the length of the side that is the hypotenuse (the side opposite the right angle), is equal to the sum (addition) of the squares of the other two sides whose lengths are represented by formula_45 and formula_46. An equation is the claim that two expressions have the same value and are equal. Some equations are true for all values of the involved variables (such as formula_47); such equations are called
Legendre's three-square theorem 1 or 2 mod 4 is a sum of 3 squares, because any positive integer not divisible by 4 can be reduced to this form by subtracting 0 or 1 from it. However, proving the three-square theorem is considerably more difficult than a direct proof of the four-square theorem that does not use the three-square theorem. Indeed, the four-square theorem was proved earlier, in 1770. 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