Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ii/paper-3/11i/b/iii/solution

Suppose first that is not primitive modulo . Since it is primitive modulo , its order modulo is then , so
Because divides , the composite number satisfies
it is a Fermat pseudoprime to base and is divisible by . Thus (iii) fails.
Conversely, suppose is primitive modulo and a base- pseudoprime is divisible by with . By part (i),
The pseudoprime congruence forces this order to divide , so in particular . But , a contradiction. Hence no such pseudoprime exists. This proves (i)(iii), and all three statements are equivalent.

New to topics? Read the docs here!