Find all integers such that .
Problem 707
Official solution
First, is a solution. We assume therefore that . By looking modulo 9 and using the fact that the order of 7 modulo 9 is 3, we get that . We are thus looking for such that the order of 7 modulo is 3. In this case, we must have and we see that works. Thus, . (Alternatively, we could have directly said that since 3 divides , 19 divides which divides ).
Therefore, , so . The order of 3 modulo 19 is 18. We deduce that .
We then look for such that the order of 3 modulo is 18 or, to simplify, divides 18 if possible. We find that works (the order of 3 modulo 7 is 6). Modulo 7, we have , which is absurd.