Quadratic residuesconceptRelated → Diophantine equationsRelated → Euler's totientRequires → Modular arithmetic