Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.3.23* (Solovay-Strassen test)
Exercise 3.3.23* (Solovay-Strassen test)
Show that if is an odd composite number then the set defined in Problem 21 is a proper subset of the collection of reduced residue classes .
Hint. Show that if , then , and recall Problem 26 in Section 2.8.
Answers
Proof. Assume, for the sake of contradiction, that , where is the group of reduced residue classes modulo , and as in Problem 21,
Consider any class . If , then by definition, which gives by squaring . So, for every integer such that ,
Since is composite, this shows that is a Carmichael number. By Problem 2.8.26, is square-free, so , where are distinct odd primes. Note that , otherwise would be a prime number.
Let be a quadratic nonresidue modulo (such a exists, because there are nonresidues in ). By the Chinese remainder Theorem, there is some integer such that
Then
therefore the Jacobi symbol is given by
The definition of shows that for every , thus , so . Our hypothesis shows that so that
Since ,
but this is impossible, because , thus , so , where is odd. This contradiction shows that
So is a proper subgroup of the group of reduced residue classes modulo . □
Note: Since the index of satisfies ,
If we draw at random an integer between and , if , then is composite, otherwise there is a probability that . With independent draws, if one of these draws gives (or ), then is composite, and if all give the result , then is probably prime, with a probability of error less that .