Exploring the Squares and Others

Se the quadratic residues at

http://mathworld.wolfram.com/QuadraticResidue.html