MathCastle
ChallengeSuperchallenge

Challenge · Superchallenge problem

A nonzero residue rr modulo 1717 is a QUADRATIC RESIDUE if r≡x2r \equiv x^2 for some xx. How many rr with 1≤r≤151 \le r \le 15 are such that BOTH rr and r+1r+1 are quadratic residues mod 1717?

Practice more like this