Once I traced algorithm 1, and am convinced that
it works, I shift my attention to the assumed operation. Only at this
time did I consider the logic of finding a prime factor
of an integer
. Note that when I tried to figure out the logic of finding a
prime factor of an integer, I don't need to worry about the logic
of factoring a number anymore.