Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2003/ib/paper-1/17g/a/solution

For a nonzero residue modulo an odd prime , the Legendre symbol equals if is a nonzero square modulo and otherwise. The extension to multiples of has value zero. Euler's criterion states

New to topics? Read the docs here!