As we know, if $p$ is a prime, then $p$ has $\frac{p+1}{2}$ quadratic residues. Consider the set $$A = \{k^2 - 4: k = 0, 1, \ldots, p-1\}$$ where $p$ is a prime of the form $4k+3$.
How many quadratic residues are there in $A$?
I tried with small primes such as $p = 7, 11, 23$ and I guess the answer is $\frac{p+1}{4}$, but I cannot prove it.
Thank you very much.
The congruence $k^2 - 4 \equiv x^2 \bmod p$ is solvable if and only if $(k,x)$ is an ${\mathbb F}_p$-rational point on the curve $K^2 - X^2 = 4$. Such curves are easily parametrized. The simplest way of doing so is writing it in the form $(K-X)(K+X) = 4$ and setting $K-X = a$, $K + X = \frac{4}a$. Finally observe that $(k,x)$ and $(k,-x)$ correspond to the same residue.