Find the set of primes $p$ for which $-3$ is quadratic residue $\text{mod } p$.
I have started my solution like this:
$1= \left(\dfrac{-3}{p}\right) = \left(\dfrac{-1}{p}\right)\left(\dfrac{3}{p}\right) = (-1)^\frac{p-1}{2}\left(\dfrac{3}{p}\right)$
Using quadratic reciprocity $\left(\dfrac{-3}{p}\right)$ becomes $(-1)^\frac{p-1}{2}\left(\dfrac{3}{p}\right)$
So up to here I have $1 = (-1)^\frac{p-1}{2}\cdot (-1)^\frac{p-1}{2}\left(\dfrac{p}{3}\right) = (-1)^{p-1}\left(\dfrac{p}{3}\right)$
Where $\left(\dfrac{a}{b}\right)$ stands for the Legendre symbol. What is my next step? I can not seem to see how to break down $p/3$ further. My solution should be when $p\equiv 1 \pmod 3$ but I cant seem to get there.