Summary

Consecutive Fibonacci numbers are the worst-case input for Euclid's algorithm.

Thus, the worst-case run time for Euclid is the inverse Fibonacci function for a (minus 2), which itself is bounded between tex2html_wrap_inline304 and tex2html_wrap_inline306 .

We will next develop a (less precise, but more convenient) short-hand notation for this: The running time of Euclid is tex2html_wrap_inline308 .


next up previous
Next: ASYMPTOTIC GROWTH Up: EUCLID'S ALGORITHM Previous: Fibonacci Upper Bound