Modular Arithmetic and FermatYou may have heard of Fermat's last theorem. Its proof involves modular arithmetic (and much more!). Fermat also used modular arithmetic to discover many other interesting things about numbers. For instance: can you find two numbers x and y so that the sum of their squares, x^{2} + y^{2}, is exactly 3 more than a multiple of 4, that is
(Please choose x and y between 0 and 9999 to prevent overflow). Sum of Squares (mod 4) Calculator
