... squares modulo p (a prime). Has some other stuff like primitive roots, indicies...quadradic residues and nonresidues...stuff like that
I think I understand what you mena by square modulo p, but I haven't a clue what "quadratic residues and non-residues" are...
more power to you!
if you like robert jordan, you might like Raymond Feist.