Let us be ``lazy'' and make some assumptions. For example, I'll
assume, for now, that there is a way to find
a prime factor
of
. Given this ability, I can
write the logic as in algorithm 1.
As an exercise, assume
and trace this algorithm.
Copyright © 2006-09-26 by Tak Auyeung