Fermat's Little Theorem states that, if $p$ does not divide $a$, then:
$$a^{p - 1} \equiv 1 \pmod{p}$$
From this, can we derive the following:
$$a^{\frac{p - 1}{2}} \equiv \, ?\pmod{p}$$
If not, is there an answer to what $?$ should be in the above congruence?
\pmod{p}to generate the parentheses, roman typeface, and spacing. – Arturo Magidin Nov 30 '19 at 02:23