Prime representation when h of minus eight q equals two
= Prime representation when h of minus eight q equals two
{title2=$h(-8q)=2$}
If $q\equiv3\pmod8$ is prime and $h(-8q)=2$, then for every prime $p>q$,
$$
p=x^2+2qy^2
$$
for some integers $x,y$ exactly when $p\equiv\pm1\pmod8$ and $p$ is a <quadratic residue> modulo $q$.