Verify that if p is an odd prime, then (-2/p)={1 if p=1(mod 8) or p=3(mod8); -1 if p=5(mod8) or p=7(mod 8)