Modular Arithmetichard
0:00.0

If gg is a primitive root modulo pp, what is the result of g(p1)/2(modp)g^{(p-1)/2} \pmod p?