The Exercise
Factoring an odd integer by order finding begins with a unit drawn at random from , the group of residues modulo coprime to , under multiplication modulo . The quantum algorithm for order finding returns the order of , the least positive integer with , and the draw is of use when lies in the set of good units (1) A unit drawn uniformly at random is good with probability , where Euler’s function is the number of units modulo .
Theorem 5.3 of the book bounds this probability from below in terms of the number of distinct primes dividing : a random unit is good with probability at least .
The Claim
Theorem 1. There is an odd integer , with distinct prime factors, for which (2)✦
Theorem 2. Let be an odd integer with distinct prime factors. Then (3)✦
This is the book’s Theorem 5.3 with in place of .
What Is Checked
Both theorems are stated over the integers modulo with their usual number theory: the unit group , the order of a unit, Euler’s function and the distinct primes dividing . What the library proves about them is the count of good units, (3) for every odd and (2) for at least one.