**
**One interesting fact about squares of numbers is that a
sum of two squares times a sum of two squares is always a sum of two
squares. In equation form, this is manifested as

(A^{2}+ B^{2})^{ }(C^{2}+ D^{2})^{ }
= E^{2}+ F^{2}

The above can be shown to be true as follows:

E^{2} = (AD +BC)^{2}

and

F^{2}
= (AC -BD)^{2}

This fact was known as early as 650 AD by the Indian
mathematician Brahmagupta. Fibonacci also noted this around 1200 AD.

The above theorem holds for both real and complex
numbers.

It can also be shown that if an odd number is a sum of
two squares, then it is of the form

4*k+1

However, the converse is not true. Not every odd
number of the form 4*k+1 is a sum of two squares, even if one of the
squares is zero. One example is 21.

Fermat, however, proved that every prime number of the
form 4*k+1 is a sum of two squares.

Lagrange also proved that a sum of four squares times a
sum of four squares is always a sum of four squares.