 For which primes "p" is 17 a quadratic residue?We can test prime "p"'s manually given the formula above.In one case, testing "p" = 3, we have 17(3 − 1)/2 = 171 ≡ 2 ≡ −1 (mod 3), therefore 17 is not a quadratic residue modulo 3.