Let r be a primitive root of the prime p with p congruent to 1 (mod 4). Show that -r is also a primitive root.
Note thatsince
and so -since p is prime-
or
, but the former is not possible since r is a primitive root.
Thusso your problem is equivalent to showing that
is coprime to
.
Butand so
is either 1 or 2.
Now note that 4 doesn't divide p+1, since p-1 is divisible by 4, and so (p+1)/2 must be odd.