Exercise 3.3.23* (Solovay-Strassen test)

Show that if m is an odd composite number then the set 𝒢 defined in Problem 21 is a proper subset of the collection of reduced residue classes ( mod m ) .

Hint. Show that if a 𝒢 , then a m 1 1 ( mod m ) , and recall Problem 26 in Section 2.8.

Answers

Proof. Assume, for the sake of contradiction, that 𝒢 = ( mℤ ) × , where ( mℤ ) × is the group of reduced residue classes modulo m , and as in Problem 21,

𝒢 = { a ( mℤ ) × a ( m 1 ) 2 = ( a m ) } .

Consider any class α = [ a ] m ( mℤ ) × . If α 𝒢 , then by definition, α ( m 1 ) 2 = ( α p ) which gives by squaring α m 1 = ( α p ) 2 = 1 ( mod p ) . So, for every integer a such that p a ,

a m 1 1 ( mod p ) .

Since m is composite, this shows that m is a Carmichael number. By Problem 2.8.26, m is square-free, so m = p 1 p 2 p l , where p 1 , p 2 , , p l are distinct odd primes. Note that l 2 , otherwise m would be a prime number.

Let c be a quadratic nonresidue modulo p 1 (such a c exists, because there are ( p 1 1 ) 2 nonresidues in [ [ 1 , p 1 1 ] ] ). By the Chinese remainder Theorem, there is some integer b such that

b c ( mod p 1 ) , b 1 ( mod p 2 ) , b 1 ( mod p l ) .

Then

( b p 1 ) = 1 , ( b p 2 ) = = ( b p l ) = 1 ,

therefore the Jacobi symbol ( b m ) is given by

( b m ) = i = 1 l ( b p i ) = 1 .

The definition of b shows that b p i = 1 for every i = 1 , 2 , , l , thus b m = 1 , so [ b ] p ( mℤ ) × . Our hypothesis 𝒢 = ( mℤ ) × shows that [ b ] p 𝒢 so that

b ( m 1 ) 2 ( b m ) = 1 ( mod m ) .

Since p 2 m ,

b ( m 1 ) 2 1 ( mod p 2 ) ,

but this is impossible, because b 1 ( mod p 2 ) , thus b ( m 1 ) 2 1 ( mod p 2 ) , so 1 1 ( mod p 2 ) , where p 2 is odd. This contradiction shows that

𝒢 ( mℤ ) × .

So 𝒢 is a proper subgroup of the group of reduced residue classes modulo m . □

Note: Since the index of 𝒢 satisfies ( ( mℤ ) × : 𝒢 ) 2 ,

| 𝒢 | | mℤ ) × | 2 = ϕ ( m ) 2 .

If we draw at random an integer a between 1 and m 1 , if a m 1 , then m is composite, otherwise there is a probability p > 1 2 that ( a m ) a ( m 1 ) 2 ( mod m ) . With k independent draws, if one of these draws gives ( a m ) a ( m 1 ) 2 ( mod m ) (or a m 1 ), then m is composite, and if all give the result ( a m ) = a ( m 1 ) 2 ( mod m ) , then m is probably prime, with a probability of error less that ( 1 2 ) k .

User profile picture
2024-11-09 10:53
Comments