in reply to Finding the greatest common divisor

I was hoping one of the geniuses who oft roam the monestery could quickly see my problem and offer some suggestion

Use the shoulders of an ancient genius :)
You could use Euclidean algorithm to find GCD. It's very simple: you can find info here. (http://www.nist.gov/dads/HTML/euclidalgo.html)

  • Comment on Re: Finding the greatest common divisor