2016 Guts #26
Source:
August 14, 2022
2016Guts Round
Problem Statement
The Euclidean Algorithm on inputs and is a way to find the greatest common divisor . Suppose WLOG that . On each step of the Euclidan Algorithm, we solve the equation for integers such that , and repeat on and . Thus , and we repeat. If , we are done. For example, , because , , and . Thus, the Euclidean Algorithm here takes steps. What is the largest number of steps that the Euclidean Algorithm can take on some integer inputs where ?Let be the actual answer and be the answer you submit. If , then your score will be . Otherwise, your score will be given by .