I'm trying to understand a process called order finding as I need to know it for Shor's algorithm in quantum computing.
The process is like this:
For two positive integers x and N, with no common factors and x < N, the order of x modulo N is defined to be the least positive integer, r...