The inclusion-exclusion principle states that for finite sets ,
For each prime , exclude pairs whose two coordinates are divisible by . For a set of distinct prime divisors , exactly pairs have both coordinates divisible by their product. Inclusion-exclusion therefore gives
The condition says that the ideal of generated by is all of . The multi-integer Bezout identity therefore supplies integers such that
Equivalently, first apply Bézout's identity to and then to .
Assume and choose as in part (b). Put . Multiplying by and using gives
Similarly, multiplication by gives .
Moreover, is a unit modulo n: if a prime divided both and , the two congruences would make it divide , contrary to . Thus means precisely that two pairs differ by multiplication by a unit modulo . Reflexivity, symmetry using , and transitivity using products of units now show that is an equivalence relation.
The class of is
so its size is Euler's totient function
The unit group acts freely on every pair in : if and , multiplying the Bezout identity by gives . Hence every equivalence class has size . Dividing the answer from part (a) by this size gives

Articles by others on the same topic (0)

There are currently no matching articles.