Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-4/10d/a/solution

The multiplicative order of modulo is the least positive integer such that
It exists because and are coprime integers.
Suppose that is even and
The minimality of also gives . Since
the factor extraction from an even modular order yields
as a nontrivial factor of ; equivalently one may also compute . Thus the required conditions are that be even and that .

New to topics? Read the docs here!