For coprime positive integers and , we define to be the smallest positive integer such that .
Let Find the last three digits of .
Details and assumptions
To put it in words, is the smallest positive integer which is a multiple of all of the following numbers:
You may use the fact that is a prime.
Even though , , since the order is defined to be positive. In this case, .