Lehmer's GCD Algorithm

From dankwiki