I am trying to figure out if $3-2\sqrt{2}$ is a quadratic residue (QR) in $\mathbb{F}_p$ if $p \equiv 1 \pmod{8}$.
I know that $\sqrt{2} \in \mathbb{F}_p \iff p \equiv 1 \pmod{8}$, but I'm not sure if the proofs for that are transferable to this situation. I tried using the Legendre Symbol & the Binomial Theorem, but I didn't get very far. I also checked that the value is a QR $\forall p<100$k using Sage, so I suspect that it's true.
I am also wondering what machinery is out there for trying to figure out if some arbitrary algebraic expression is a QR (in this case the expression contains only integers & radicals) as I have another expression I want to try out: $(1+\sqrt{2})^3-(1+\sqrt{2})$