/Wiki/Modular arithmetic · Quadratic residueEuler's criterionAn integer a is a quadratic residue mod odd prime p exactly when a to the (p-1)/2 is 1 mod p.This page has not been written yet. The summary above comes from the topic index.