Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4652462 | Electronic Notes in Discrete Mathematics | 2009 | 8 Pages |
Abstract
We present a new GCD algorithm for two integers that combines both the Euclidean and the binary gcd approaches. We give its worst case time analysis and we prove that its bit-time complexity is still O(n2) for two n-bit integers in the worst case. Our preliminar experiments show a potential speedup for small integers. A parallel version matches the best presently known time complexity, namely O(n/logn) time with O(n1+ϵ) processors, for any constant ϵ>0.
Related Topics
Physical Sciences and Engineering
Mathematics
Discrete Mathematics and Combinatorics