I want to determine the smallest prime $\displaystyle p $ such that

$\displaystyle

\left(\frac {2}{p}\right)=-1

$

and the order of $\displaystyle [2]_p $ is less than $\displaystyle p-1$.

Here $\displaystyle

\left(\frac {2}{p}\right)=-1

$

is Legendre symbol.

I have tried with different prime number but have not got any answer.