Exercise 2.8.21 (When is $-g$ a primitive root?)

Let g be a primitive root of the odd prime p . Show that g is a primitive root, or not, according as p 1 ( mod 4 ) or p 3 ( mod 4 ) .

Answers

Proof. Let p be an odd prime, and g a primitive root of p . We prove that g is a primitive root if and only if p 1 ( mod 4 ) .

  • If p 3 ( mod 4 ) , then p = 4 k + 3 , k . Since g ( p 1 ) 2 1 ( mod p ) (see Problem 15),

    ( g ) ( p 1 ) 2 = ( 1 ) 2 k + 1 g ( p 1 ) 2 1 ( mod p ) ,

    thus g is not a primitive root.

  • If p 1 ( mod 4 ) , then p = 4 k + 1 , k . Let d be a positive integer such that d p 1 , d p 1 , so that p 1 = ld , l 2 . To prove that g is a primitive root modulo p , it suffices to show that ( g ) d 1 ( mod p ) .

    Assume for contradiction that ( g ) d = ( 1 ) d g d 1 ( mod p ) . Then, either ( 1 ) d = 1 and g d = 1 , or ( 1 ) d = 1 and g d = 1 .

    In the former case, g d = 1 . This is impossible since g has order p 1 and 1 d < p 1 .

    In the later case, d is odd, and g d = 1 . Then g 2 d = 1 , where 1 < 2 d ld = p 1 . Since the order of g is p 1 , 2 d = p 1 , thus ( p 1 ) 2 = d is odd, in contradiction with ( p 1 ) 2 = 2 k .

    This proves that ( g ) d 1 for every divisor d of p 1 ( d 1 , d p 1 ). Therefore g has order p 1 modulo p , so g is a primitive root.

    So g is a primitive root, or not, according as p 1 ( mod 4 ) or p 3 ( mod 4 ) .

User profile picture
2024-09-14 09:42
Comments